kivikakk / comrak

CommonMark + GFM compatible Markdown parser and renderer
Other
1.21k stars 141 forks source link

Width options usage ? #361

Closed Its-Just-Nans closed 9 months ago

Its-Just-Nans commented 9 months ago

Hello,

How can I use the --width options in the CLI ?

With and without the options, the output isn't different ?!

cargo install comrak

comrak --gfm -o index_0.html README.md
comrak --gfm -o index_1.html --width 50 README.md

diff index_*.html
# no difference
kivikakk commented 9 months ago

Presently the --width option only applies to the CommonMark output mode.

Its-Just-Nans commented 9 months ago

Closing with https://github.com/kivikakk/comrak/pull/362