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

Support idprefix document attribute #300

Closed
xcoulon opened this issue Feb 23, 2019 · 0 comments
Closed

Support idprefix document attribute #300

xcoulon opened this issue Feb 23, 2019 · 0 comments

Comments

@xcoulon
Copy link
Member

xcoulon commented Feb 23, 2019

Generated section id in libasciidoc needs to support the idprefix document attribute (with a default to _)

For example:

:idprefix: id_

== Section B

must give the following output:

<h2 id="id_section_b">Section B</h2>

vs

<h2 id="_section_b">Section B</h2>

when no ideprefix attribute is specified

@xcoulon xcoulon added this to the v0.2.0 milestone Feb 23, 2019
@xcoulon xcoulon self-assigned this Feb 23, 2019
@xcoulon xcoulon changed the title Fix generated section id Support idprefix document attribute Feb 23, 2019
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Feb 24, 2019
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Feb 24, 2019
xcoulon added a commit that referenced this issue Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant