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

Anchor links #92

Closed
guybedford opened this issue Nov 3, 2012 · 1 comment
Closed

Anchor links #92

guybedford opened this issue Nov 3, 2012 · 1 comment

Comments

@guybedford
Copy link
Contributor

Great module - very easy to use! Currently running it through RequireJS which works perfectly.

If I create a link to an anchor tag like -

  (Anchor Link)[#anchor-name]

This doesn't get picked up as a link. Would be good to get this sorted, as it's a very useful feature in markdown.

@chjj
Copy link
Member

chjj commented Jan 8, 2013

The usual way in a markdown implementation to create links is square brackets first, parentheses second.

$ marked
[Anchor Link](#anchor-name)
<p><a href="#anchor-name">Anchor Link</a>
</p>

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

2 participants