
답변1
다음 명령을 시도해 보십시오:
pandoc -f gfm --toc -s README.md -o r.md
최신 버전의 pandoc
.
pandoc 자체를 사용하여 README.md
다음 ToC를 얻었습니다.
- [Pandoc](#pandoc)
- [The universal markup
converter](#the-universal-markup-converter)
- [Installing](#installing)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [License](#license)