NodeBB / NodeBB/nodebb-plugin-markdown

Ability to anchor to headers

Open
#80 4 comments 0 reactions 1 assignee View on GitHub

@psychobunny is already working on this.

Since Sep 9, 2016.

Dominant language
JavaScript
Stars
33
Forks
41
Avg merge
3h 40m
Merged PRs (30d)
4

Description

http://stackoverflow.com/questions/6695439/how-to-link-to-a-named-anchor-in-multimarkdown

So IMO everytime somebody does something like

## This is a header

It should generate a link such as this, using something similar to slugify:

<h2><a name="this-is-a-header"></a>This is a header

This way people can create for example a table of contents on a long post.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.