On 2020-11-20, at 16:07:47, Thorsten Glaser wrote:
> 
>> I am working with some html files that have a <code> </code> section.  Is 
>> there a way to have lynx display tese areas?
> 
> lynx -dump -stdin <<\EOF
> <html><head><title>meow</title></head><body>
> <p>foo</p><code>bar</code><p>baz</p></body></html>
> EOF
> 
>   foo
>   bar
> 
>   baz
> 
> So, it does display the “code” blocks. The purpose of the “code”
> tag is to switch to monospaced font, which in lynx is the only
> font, so it’s effectively a nop for lynx.
>  
Perhaps more important, and not effectively a nop for lynx, it
preserves whitespace, copyint it from the HTML source to the
rendered page.

-- gil


_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to