Skip to content

Commit 7176091

Browse files
committed
docs: update README.md
1 parent f3599b1 commit 7176091

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

4141
In `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

4747
In 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)

0 commit comments

Comments
 (0)