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

Add #Headline{id} Syntax #1

Open
OscarGodson opened this issue Feb 21, 2012 · 0 comments
Open

Add #Headline{id} Syntax #1

OscarGodson opened this issue Feb 21, 2012 · 0 comments

Comments

@OscarGodson
Copy link
Owner

This would allow you to make an ID and link to it without HTML:

#Title

##Table of Contents
- [Part 1](#part-1)
- [Part 2](#part-2)
- [Part 3](#part-3)

###Part 1{part-1}
blah blah blah blah

###Part 2{part-2}
blah blah blah blah

###Part 3{part-3}
blah blah blah blah

This would output stuff like

<h1>Title</h1>

<h2>Table of Contents</h2>
<ol>
  <li><a href="#part-1">Part 1</a></li>
  <li><a href="#part-2">Part 2</a></li>
  <li><a href="#part-3">Part 3</a></li>
</ol>

<h3 id="part-1">Part 1</h3>
blah blah blah blah

<h3 id="part-2">Part 2</h3>
blah blah blah blah

<h3 id="part-3">Part 3</h3>
blah blah blah blah
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