File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -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 pandoc -f markdown -t html - > output.html
20+ cat intput.rst | docker run --rm -i --net=none leplusorg/rst pandoc -f rst -t html - > output.html
2121```
2222
2323** Windows**
2424
2525``` batch
26- type intput.rst | docker run --rm -i --net=none leplusorg/rst pandoc -f markdown -t html - > output.html
26+ type intput.rst | docker run --rm -i --net=none leplusorg/rst pandoc -f rst -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 pandoc -f markdown -t html -o output.html intput.rst
36+ docker run --rm -t --user=" $( id -u) :$( id -g) " --net=none -v " $( pwd) :/tmp" leplusorg/rst pandoc -f rst -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 pandoc -f markdown -t html -o output.html intput.rst
44+ docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/rst pandoc -f rst -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 pandoc -f markdown -t html -o output.html intput.rst
50+ docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/rst pandoc -f rst -t html -o output.html intput.rst
5151```
5252
5353## Software Bill of Materials (SBOM)
You can’t perform that action at this time.
0 commit comments