How to change the style of bullets in markdown pandoc?

Bullets of the second level in the markdown "-" when converting to pdf. I would like to change them to some other types of bullets (for example, a disk or a triangle). Is there something I can pass to the pandoc command line to change this? Or change something in the template?

+4
source share
1 answer

It seems that there are two possibilities, both of which are related to transferring your markdowns through a LaTeX style file as follows:

pandoc -H format.sty -o foo.pdf bar.md

Beamer - . Beamer. enumitem - . , , :

\usepackage{enumitem}
\usepackage{amsfonts}

\setlist[itemize,1]{label=$\bullet$}
\setlist[itemize,2]{label=$\diamond$}

pandoc PDF, LaTeX \begin{document}.

+2

Source: https://habr.com/ru/post/1529884/


All Articles