-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Hi,
First, thanks for this useful script. Second, it seems to me that there is a problem when a title has a backquote at the end. Here is an example with this simple markdown file:
# The command `foo1`
Blabla...
# The command `foo2` is better
Blabla...
# The command `bar1`
Blabla...
# The command `bar2` is better
Blabla...
I have this:
~$ ./gh-md-toc /tmp/test.md
Table of Contents
=================
* [](#the-command-foo1)
* [The command <code>foo2</code> is better](#the-command-foo2-is-better)
* [](#the-command-bar1)
* [The command <code>bar2</code> is better](#the-command-bar2-is-better)
Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)Regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels