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 unique ID for each heading #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add unique ID for each heading #19

wants to merge 1 commit into from

Conversation

RadhiFadlillah
Copy link

Fix for #18. Now heading with same text :

# General

## General

### General

will rendered with unique ID for each heading :

<h1>
	<a id="general" class="anchor" href="#general" aria-hidden="true" rel="nofollow">
		<span class="octicon octicon-link"></span>
	</a>General
</h1>
<h2>
	<a id="general-1" class="anchor" href="#general-1" aria-hidden="true" rel="nofollow">
		<span class="octicon octicon-link"></span>
	</a>General
</h2>
<h3>
	<a id="general-2" class="anchor" href="#general-1-1" aria-hidden="true" rel="nofollow">
		<span class="octicon octicon-link"></span>
	</a>General
</h3>

@@ -1,12 +1,11 @@
package github_flavored_markdown_test
package github_flavored_markdown
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

golint: don't use an underscore in package name

@dmitshur
Copy link
Member

Thanks for the PR. I'll try to find time this weekend to review.

@dmitshur dmitshur changed the base branch from master to main November 26, 2023 23:14
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

Successfully merging this pull request may close these issues.

2 participants