Bug#1036359: crashes with (wrong-type-argument consp nil)
On 2023-06-05 12:16:28, Antoine Beaupré wrote:
> Is there something out there that takes a markdown doc as input and
> outputs a TOC?
Answering my own question, this does what I want:
md_toc github -o . < tpa-rfc-36-gitolite-gitweb-retirement.md
... and what I want in many cases is actually:
md_toc github -o . < tpa-rfc-36-gitolite-gitweb-retirement.md | sed 's/](#.*//;s/ \[/ /'
which is just an ordered list of items, without markdown links.
md_toc is part of `python3-md-toc`.
Reply to: