[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Manual consistency
From: |
Julien Lepiller |
Subject: |
Re: Manual consistency |
Date: |
Tue, 09 Jun 2020 14:12:52 -0400 |
User-agent: |
K-9 Mail for Android |
Le 9 juin 2020 13:13:31 GMT-04:00, Ricardo Wurmus <rekado@elephly.net> a écrit :
>
>Ludovic Courtès <ludo@gnu.org> writes:
>
>> Hi,
>>
>> Ricardo Wurmus <rekado@elephly.net> skribis:
>>
>>> Julien Lepiller <julien@lepiller.eu> writes:
>>>
>>>> If there is a way to mark a sentence to wrap it into a class, we
>could
>>>> also do some CSS magic with :before.
>>>
>>> Texinfo puts all examples inside div.example pre.example, but the
>>> individual lines are not wrapped in spans, so we cannot style each
>line
>>> individually. A :before rule would thus only change the first line,
>>> which is not enough.
>>
>> What about adding some more post-processing in doc/build.scm? :-)
>
>If we’re okay with wrapping individual lines in @code{…} that won’t be
>necessary. Having each logical line of code within @code results in
>
> <pre class="example">
> <code>this line</code>
> <code>that line</code>
> </pre>
>
>and that’s something we *can* style with CSS.
But we can't differentiate root commands and user commands that way.
- Manual consistency, zimoun, 2020/06/05
- Re: Manual consistency, Julien Lepiller, 2020/06/05
- Re: Manual consistency, Ricardo Wurmus, 2020/06/05
- Re: Manual consistency, Ludovic Courtès, 2020/06/10
- Re: Manual consistency, Dmitry Alexandrov, 2020/06/10
- Re: Manual consistency, Ricardo Wurmus, 2020/06/11
- Re: Manual consistency, Julien Lepiller, 2020/06/11
- Re: Manual consistency, Dmitry Alexandrov, 2020/06/11
- Re: Manual consistency, Ricardo Wurmus, 2020/06/11
- Re: Manual consistency, Dmitry Alexandrov, 2020/06/11
Re: Manual consistency, Ricardo Wurmus, 2020/06/05
Re: Manual consistency, George Clemmer, 2020/06/09