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

Outputting IDs into html when they are not needed #806

Closed
jesus-cortex opened this issue Sep 8, 2016 · 4 comments
Closed

Outputting IDs into html when they are not needed #806

jesus-cortex opened this issue Sep 8, 2016 · 4 comments

Comments

@jesus-cortex
Copy link

Hi,

Using marked in command line and having this markdown file

# This is a test

if I run marked test.md -o test.html this is what I get:

<h1 id="this-is-a-test">This is a test</h1>

Why is id="this-is-a-test" there? What option should I use to prevent that behaviour?

@aaronpk
Copy link

aaronpk commented Sep 18, 2016

This is usually seen as desired behavior, in order to easily provide anchor links to sections based on the header text.

@sneakernets
Copy link

is this still in the code? I desperately need a parser that has this feature.

@joshbruce
Copy link
Member

#981

@joshbruce
Copy link
Member

@sneakernets: I believe it is.

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