Skip to content
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

Ignore # characters in GFM code blocks #13

Closed
Wilfred opened this issue Sep 25, 2015 · 5 comments
Closed

Ignore # characters in GFM code blocks #13

Wilfred opened this issue Sep 25, 2015 · 5 comments

Comments

@Wilfred
Copy link
Contributor

Wilfred commented Sep 25, 2015

Given the markdown:

# Heading

## subheading

```
foo
# bar
baz
```

## another subheading

markdown-toc generates:

<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-generate-toc again -->
**Table of Contents**

- [Heading](#heading)
    - [subheading](#subheading)
- [bar](#bar)
    - [another subheading](#another-subheading)

<!-- markdown-toc end -->
@ardumont
Copy link
Owner

Right!

@hirose31
Copy link

hirose31 commented Dec 3, 2015

jrblevin/markdown-mode#40 will fix this issue!

@ardumont
Copy link
Owner

ardumont commented Dec 3, 2015

Thanks!

🍻

@syohex
Copy link
Contributor

syohex commented Dec 9, 2015

@Wilfred jrblevin/markdown-mode#40 had been merged. Please upgrade markdown-mode and try again.

@Wilfred
Copy link
Contributor Author

Wilfred commented Dec 9, 2015

Indeed it does! Thanks :)

@Wilfred Wilfred closed this as completed Dec 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants