CSV Table with code block inside a column
jacques yakoub <[email protected]> Thu, 26 Sep 2019 22:33:32 +0000
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <AM6PR01MB434385B59AFDC8CF79FD592F90860@AM6PR01MB4343.eurprd01.prod.exchangelabs.com> |
Hello,
I would like to insert a code-block inside this csv table (inside the "code" column ).
.. csv-table:: Compilations errors
:header: "File","Line","Error Message","Code"
:widths: auto
As explained in the docs ( http://docutils.sourceforge.net/docs/ref/rst/directives.html#id4 ) : "
Block markup and inline markup within cells is supported. Line ends are recognized within cells.",
I would like to use an block markup so that I can replace it with the right code-block later ( the code could be on multiple lines ). Can you give me a code sample for this situation, if it is possible ?
If not, feel free to suggest an alternative as I should programmatically generate this code in python.
Thanks for your help.
Jacques