isemaj
isemaj

Reputation: 587

Creating table of contents on the markdown file itself

Is it possible to create table of contents in the markdown file itself with pandoc?

Upvotes: 1

Views: 108

Answers (1)

tarleb
tarleb

Reputation: 22544

It's sufficient to pass both, the --toc and --standalone options, to get a table of contents in the resulting markdown file.

Upvotes: 1

Related Questions