How do I make a link to a section of a document in

2019-06-21 04:04发布

I have two fairly simple pieces of documentation(written in markdown that is used to generate html files with pandoc). I'd like to be able to link to a section of the second document from the first document.

Preference order for solutions:

  • Using General Markdown Features
  • Using Pandoc Extensions Using
  • embedded HTML

1条回答
放荡不羁爱自由
2楼-- · 2019-06-21 04:14

Pandoc has a "Header identifiers in HTML"-extension for this usecase. In the documentation is an example, how to provide links from one section of a document to another.

查看更多
登录 后发表回答