Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #342894
| From | Antoine Beaupré <anarcat@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.rc |
| Subject | Bug#1036359: crashes with (wrong-type-argument consp nil) |
| Date | 2023-06-05 18:50 +0200 |
| Message-ID | <GDlz3-dRUk-1@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <GxeqB-a3Aq-3@gated-at.bofh.it> <GCK6t-dtAE-1@gated-at.bofh.it> <GDlfH-dRNP-1@gated-at.bofh.it> <GxaZI-a1Eq-5@gated-at.bofh.it> <GDlfH-dRNP-1@gated-at.bofh.it> |
| Organization | Debian |
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`.
Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1036359: crashes with (wrong-type-argument consp nil) Antoine Beaupre <anarcat@debian.org> - 2023-05-19 18:20 +0200
Bug#1036359: crashes with (wrong-type-argument consp nil) David Bremner <david@tethera.net> - 2023-05-19 20:10 +0200
Processed: Re: Bug#1036359: crashes with (wrong-type-argument consp nil) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-05-19 22:00 +0200
Bug#1036359: crashes with (wrong-type-argument consp nil) Antoine Beaupré <anarcat@debian.org> - 2023-06-05 18:30 +0200
Bug#1036359: crashes with (wrong-type-argument consp nil) Antoine Beaupré <anarcat@debian.org> - 2023-06-05 18:50 +0200
Bug#1036359: elpa-markdown-toc -- crashes with (wrong-type-argument consp nil) Nicholas D Steeves <sten@debian.org> - 2023-06-06 17:10 +0200
Bug#1036359: elpa-markdown-toc -- crashes with (wrong-type-argument consp nil) Nicholas D Steeves <sten@debian.org> - 2023-06-11 20:50 +0200
Bug#1036359: elpa-markdown-toc -- crashes with (wrong-type-argument consp nil) Antoine Beaupré <anarcat@debian.org> - 2023-06-13 22:00 +0200
csiph-web