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.

Give id's to parsed #, ##, ###, #### etc

See original GitHub issue

Would it be possible to have mdsvex provide id’s for structural parts of the markdown so that they can be referenced with links elsewhere?

It would be useful if something like:

# Article Title
Text
## Sub Title

Parsed to:

<h1 id=#articletitle></h1>
<p>Text</p>
<h2 id=#subtitle></h2>

So that these elements of the page can be navigated to through a table of contents for example.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jamesb93commented, Aug 28, 2020

For reference a good example is the sidebar here which I managed to achieve with Gumeshoe.js

https://www.reacoma.xyz/posts/dev/slicing/

1reaction
jamesb93commented, Aug 28, 2020

This is really great! Thank you so much for pointing me toward this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

parsing the /etc/passwd file for user IDs in a range and getting ...
I am looking to parse an /etc/passwd file and take out only the users within a range of UIDs. I am not very...
Read more >
Parsing texts to get names, claim numbers, date etc - 2021
For example i want Claim Patient ID 39982452219W, EFT Date 11/23/2020, Patient Name JOhn, JOSEPH from the above text, how can i parse...
Read more >
How can I get the entry ID via PHP for parsing on input?
I'm writing a template that parses PHP on input. Basically I need to get the entry ID into PHP up front so I...
Read more >
TextBox with IDs - SQL lookup per ID
Solved: Hello Everyone, Need a pointer. So I am doing simple text box with a ID number 1 per line. Using a Gallery...
Read more >
How can I look up a username by id in linux?
Filesystems store user IDs, not user names. ... The command id can be used to both to look up UID and/or USER name....
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