-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with a title with a backquote at the end #13
Comments
Hi,
Glad that it was useful for you.
Thanks for report. Yes, seems, we have a problem here. Btw, you can try to use a go-based implementation of this script: I've fixed this issue there: ➥ cat test.md
# The command `foo1`
Blabla...
# The command `foo2` is better
Blabla...
# The command `bar1`
Blabla...
# The command `bar2` is better
Blabla...
➥ ./gh-md-toc test.md
Table of Contents
=================
* [The command foo1](#the-command-foo1)
* [The command foo2 is better](#the-command-foo2-is-better)
* [The command bar1](#the-command-bar1)
* [The command bar2 is better](#the-command-bar2-is-better)
Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc.go)
➥ file gh-md-toc
gh-md-toc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped
➥ ./gh-md-toc --version
0.3.1 |
Hi, Thx ekalinin. I will use the project in Go. It works well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
I have this:
Regards
The text was updated successfully, but these errors were encountered: