Demonstration

Some demos of how restructuredtext rendering looks.

The demos are possible because rich has the feature to save console output to html files

Demo Files

Console Output

Raw RST (Input)

Parameters Used

The following command was used the generate every file except rich_introduction.rst

On Windows:

rich_rst .\demo\filename.rst ^
    --save-html .\demo\filename.html ^
    --code-theme dracula ^
    --default-lexer rst  ^
    --soft-wrap ^
    --hide-errors

On Linux/Mac

rich_rst ./demo/filename.rst \
    --save-html ./demo/filename.html \
    --code-theme dracula \
    --default-lexer rst  \
    --soft-wrap \
    --hide-errors

Note

There are aliases available for those parameters

For rich_introduction.rst, The -dl parameter was set to python

Sources

Original HTML

Original RST