[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] reading code section
From: |
Paul Gilmartin |
Subject: |
Re: [Lynx-dev] reading code section |
Date: |
Fri, 20 Nov 2020 16:23:11 -0700 |
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] reading code section, Tom Masterson, 2020/11/20
- Re: [Lynx-dev] reading code section, Thorsten Glaser, 2020/11/20
- Re: [Lynx-dev] reading code section,
Paul Gilmartin <=
- Re: [Lynx-dev] reading code section, Jude DaShiell, 2020/11/20
- Re: [Lynx-dev] reading code section, Thorsten Glaser, 2020/11/20
- Re: [Lynx-dev] reading code section, Tom Masterson, 2020/11/21
- Re: [Lynx-dev] reading code section, Halaasz Saandor, 2020/11/21
- Re: [Lynx-dev] reading code section, Tom Masterson, 2020/11/22
Re: [Lynx-dev] reading code section, Paul Gilmartin, 2020/11/20