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

Implement custom named Anchor markdown extension #9

Closed
FransBouma opened this issue Feb 15, 2016 · 2 comments
Closed

Implement custom named Anchor markdown extension #9

FransBouma opened this issue Feb 15, 2016 · 2 comments

Comments

@FransBouma
Copy link
Owner

To be able to refer to parts of a document it should be possible to place an anchor at the position to reference so elsewhere a document can link to it.

E.g.
@anchor Foo

will result in
<a name="Foo"></a>

and can be referred to with #Foo

It's not a high priority, the markdown parser does allow <a name="Foo"></a> html but falling back to html is something that should be avoidable.

@FransBouma
Copy link
Owner Author

Looks like MarkdownDeep (which we now have as parser) supports this, look into that.

@FransBouma
Copy link
Owner Author

This is implemented in MarkdownDeep, using {#idname} after a header. See PHP Markdown extra.

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

1 participant