Browse Source

fix(flavor: github): new version of github does not use prefix 'user-content' in headers

New version of GFM does not add a 'user-content-' before generated header ids.
This matches the new spec.
Estevao Soares dos Santos 8 years ago
parent
commit
368f0b6309
5 changed files with 0 additions and 2 deletions
  1. 0 1
      dist/showdown.js
  2. 0 0
      dist/showdown.js.map
  3. 0 0
      dist/showdown.min.js
  4. 0 0
      dist/showdown.min.js.map
  5. 0 1
      src/showdown.js

+ 0 - 1
dist/showdown.js

@@ -156,7 +156,6 @@ var showdown = {},
     flavor = {
       github: {
         omitExtraWLInCodeBlocks:              true,
-        prefixHeaderId:                       'user-content-',
         simplifiedAutoLink:                   true,
         excludeTrailingPunctuationFromURLs:   true,
         literalMidWordUnderscores:            true,

File diff suppressed because it is too large
+ 0 - 0
dist/showdown.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/showdown.min.js


File diff suppressed because it is too large
+ 0 - 0
dist/showdown.min.js.map


+ 0 - 1
src/showdown.js

@@ -11,7 +11,6 @@ var showdown = {},
     flavor = {
       github: {
         omitExtraWLInCodeBlocks:              true,
-        prefixHeaderId:                       'user-content-',
         simplifiedAutoLink:                   true,
         excludeTrailingPunctuationFromURLs:   true,
         literalMidWordUnderscores:            true,

Some files were not shown because too many files changed in this diff