11# reStructuredText
22
3- Multi-platform Docker container with utilities to process reStructuredText files (` docutils ` , ` rst2pdf ` ...).
3+ Multi-platform Docker container with utilities to process reStructuredText files (` docutils ` , ` pandoc ` , ` rst2pdf ` ...).
44
55[ ![ Dockerfile] ( https://img.shields.io/badge/GitHub-Dockerfile-blue )] ( rst/Dockerfile )
66[ ![ Docker Build] ( https://github.com/leplusorg/docker-rst/workflows/Docker/badge.svg )] ( https://github.com/leplusorg/docker-rst/actions?query=workflow:"Docker" )
@@ -17,13 +17,13 @@ Let's say that you want to convert an reStructuredText file intput.rst in your c
1717** Mac/Linux**
1818
1919``` bash
20- cat intput.rst | docker run --rm -i --net=none leplusorg/rst asciidoc -o - > output.html
20+ cat intput.rst | docker run --rm -i --net=none leplusorg/rst pandoc -f markdown -t html - > output.html
2121```
2222
2323** Windows**
2424
2525``` batch
26- type intput.rst | docker run --rm -i --net=none leplusorg/rst asciidoc -o - > output.html
26+ type intput.rst | docker run --rm -i --net=none leplusorg/rst pandoc -f markdown -t html - > output.html
2727```
2828
2929## Example using the filesystem
@@ -33,21 +33,21 @@ Same thing, assuming that you want to convert an reStructuredText file intput.rs
3333** Mac/Linux**
3434
3535``` bash
36- docker run --rm -t --user=" $( id -u) :$( id -g) " --net=none -v " $( pwd) :/tmp" leplusorg/rst asciidoc -o output.html intput.rst
36+ docker run --rm -t --user=" $( id -u) :$( id -g) " --net=none -v " $( pwd) :/tmp" leplusorg/rst pandoc -f markdown -t html -o output.html intput.rst
3737```
3838
3939** Windows**
4040
4141In ` cmd ` :
4242
4343``` batch
44- docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/rst asciidoc -o output.html intput.rst
44+ docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/rst pandoc -f markdown -t html -o output.html intput.rst
4545```
4646
4747In PowerShell:
4848
4949``` pwsh
50- docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/rst asciidoc -o output.html intput.rst
50+ docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/rst pandoc -f markdown -t html -o output.html intput.rst
5151```
5252
5353## Software Bill of Materials (SBOM)
0 commit comments