Re: Literal code blocks ...

Wol <[email protected]> Tue, 22 Feb 2022 21:12:32 +0000
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>

On 22/02/2022 01:03, Adam Turner wrote:
> It would be very helpful for you to share a link to a repo that contains 
> a minimal reproducer - I've had to guess a few things about your setup here.
> 
>  > But, forgetting all the grief so far, how would YOU recommend me to
> achieve what I'm actually aiming for, which is plain text laid out in
> columns?
> 
> If you're using Sphinx, the |.. class::|​ directive is renamed to |.. 
> rst-class::|​. Does |.. rst-class:: borderless|​ work?
> 
Running Sphinx v4.3.2
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] SMA/SMA301
/home/anthony/gitstuff/ScarletDME/docs/source/SMA/SMA301.rst:81: 
WARNING: Invalid class attribute value for "rst-class" directive: 
"borderless
=========== =========================================================
Item-Id -   A character string (maximum 48 characters) which

As you can see, it doesn't like it ...

This is what the source file looks like ...


.. rst-class:: borderless
    =========== =========================================================
    Item-Id -   A character string (maximum 48 characters) which
                uniquely identifies an item within a file. The item-id


And the output is that the table just disappears ...


> 
>> I DON'T want it to LOOK like it's been laid out as a table...
> 
> By this do you just mean you don't want borders to be shown?
> 
Yup.

(Actually, I'd like to learn how all this works :-) But I need to get 
something that works, and then and can try and understand WHY it works :-)

Cheers,
Wol


_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.