Skip to content

Commit

Permalink
fix(flavor: github): new version of github does not use prefix 'user-…
Browse files Browse the repository at this point in the history
…content' in headers

New version of GFM does not add a 'user-content-' before generated header ids.
This matches the new spec.
  • Loading branch information
tivie committed Feb 6, 2017
1 parent f641a7d commit 368f0b6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion dist/showdown.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/showdown.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/showdown.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/showdown.min.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/showdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ var showdown = {},
flavor = {
github: {
omitExtraWLInCodeBlocks: true,
prefixHeaderId: 'user-content-',
simplifiedAutoLink: true,
excludeTrailingPunctuationFromURLs: true,
literalMidWordUnderscores: true,
Expand Down

0 comments on commit 368f0b6

Please sign in to comment.