简体   繁体   中英

how to convert markdown to HTML with different sizes using pandoc

I'm converting some markdown to Html File like this

pandoc basic_python.md -t html -o basic_python.html

By default, the font-size is quite small in the HTML file I'd like to make all the fonts bigger (title, subtitle, text, etc.). How can I do that?

Using recent versions of pandoc:

pandoc -s -M fontsize=22px input.md -o output.html

Note the -s for standalone. The default fontsize is 20px .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM