question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Anchor link ids are not generated?

See original GitHub issue

I really want to use anchor links to headlines. Creating a link works with

[A working anchor link](#gohere)

But I can not find any way of generating the id/target. It should look like this after being parsed by strapdown: <a name="gohere"></a>

I am amazed that there are no examples of anchor links/bookmarks, I did find examples of links.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
joedfcommented, Feb 2, 2018

you could use my plugin… light weight and works directly on top of strapdown. https://github.com/joedf/strapdown-topbar

0reactions
joedfcommented, Feb 28, 2018

@roddersg my pleasure! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML Anchor ID not working - Stack Overflow
I'm making a quick site and all the content is on one page, and I'm using a small menu with anchor links to...
Read more >
Links to Named Anchors or Element IDs Fail in Internet ...
I recently ran into an interesting situation where clicking a link to a named anchor (a link such as #top linking to <a...
Read more >
Support generating IDs for headings, for section direct links
I'm missing an It just works™️ way of generating IDs for headings, ... I adapted it to how markdown-it-anchor generates section headers.
Read more >
Links in HTML documents - W3C
Syntax of anchor names; Nested links are illegal; Anchors with the id attribute; Unavailable and unidentifiable resources. Document relationships: the LINK ...
Read more >
<a>: The Anchor element - HTML: HyperText Markup Language
The URL that the hyperlink points to. Links are not restricted to HTTP-based URLs — they can use any URL scheme supported by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found