showdown/test/features
Marinin Tim 94c570a9d8 feat(customizeHeaderId): add option for customizing header ids
It’s useful for non-Latin texts, where header might be, for example, in Russian, but user wants id to be in English. This feature allows user to set id for header manually, using curly braces:

    ## Привет, мир {hello-world}

Closes #383
2017-06-01 02:35:42 +01:00
..
disableForced4SpacesIndentedSublists test: add several testcases 2017-04-23 02:04:13 +01:00
openLinksInNewWindow test: add several testcases 2017-04-23 02:04:13 +01:00
simplifiedAutoLink blame: last commit introduced a bug 2017-03-15 02:49:20 +00:00
tables fix(tables): pipe char can now be escaped 2017-02-21 14:13:12 +00:00
#69.header-level-start.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
#69.header-level-start.md chore: normalize test names 2015-10-19 02:50:32 +01:00
#143.support-image-dimensions.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
#143.support-image-dimensions.md chore: normalize test names 2015-10-19 02:50:32 +01:00
#164.1.simple-autolink.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
#164.1.simple-autolink.md chore: normalize test names 2015-10-19 02:50:32 +01:00
#164.2.disallow-underscore-emphasis-mid-word.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
#164.2.disallow-underscore-emphasis-mid-word.md chore: normalize test names 2015-10-19 02:50:32 +01:00
#164.3.strikethrough.html fix(strikethrough): fix striketrough being wrongly parsed inside codeSpans 2017-01-29 19:38:45 +00:00
#164.3.strikethrough.md fix(strikethrough): fix striketrough being wrongly parsed inside codeSpans 2017-01-29 19:38:45 +00:00
#164.4.tasklists.html fix(lists linebreaks): fix lists linebreaks in html output 2016-09-29 01:12:27 +01:00
#164.4.tasklists.md feat(tasklists): add support for GFM tasklists 2015-07-11 23:02:02 +01:00
#178.markdown-inside-html-does-not-parse.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
#178.markdown-inside-html-does-not-parse.md feat(markdown="1"): enable parsing markdown inside HTML blocks 2016-01-02 01:08:17 +00:00
#198.literalMidWordUnderscores-changes-behavior-of-asterisk.html fix(literalMidWordUnderscores): Inconsistent behavior of emphasis and strong with literalMidWordUndescores 2017-01-29 23:31:52 +00:00
#198.literalMidWordUnderscores-changes-behavior-of-asterisk.md fix(literalMidWordUnderscores): Inconsistent behavior of emphasis and strong with literalMidWordUndescores 2017-01-29 23:31:52 +00:00
#204.certain-links-with-at-and-dot-break-url.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
#204.certain-links-with-at-and-dot-break-url.md test: add newline at end of test files 2017-01-28 01:46:33 +00:00
#206.treat-single-line-breaks-as-br.html feature(simpleLineBreaks): parse linebreaks as <br /> 2016-11-30 18:04:17 +00:00
#206.treat-single-line-breaks-as-br.md feature(simpleLineBreaks): parse linebreaks as <br /> 2016-11-30 18:04:17 +00:00
#214.escaped-markdown-chars-break-strikethrough.html fix(strikethrough): Fix strikethrough issue with escaped chars 2015-10-30 01:00:30 +00:00
#214.escaped-markdown-chars-break-strikethrough.md fix(strikethrough): Fix strikethrough issue with escaped chars 2015-10-30 01:00:30 +00:00
#259.es6-template-strings-indentation-issues.html fix(lists linebreaks): fix lists linebreaks in html output 2016-09-29 01:12:27 +01:00
#259.es6-template-strings-indentation-issues.md feat(smart-indent-fix): fix for es6 identation problems 2016-06-07 01:23:52 +01:00
#284.simplifiedAutoLink-does-not-match-GFM-style.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
#284.simplifiedAutoLink-does-not-match-GFM-style.md fix(simplifiedAutoLink): fix simplified autolink to match GFM behavior 2016-08-19 19:12:25 +01:00
#316.new-simpleLineBreaks-option-breaks-lists.html fix(simpleLineBreaks): fix simpleLineBreak option breaking lists html 2016-12-20 23:57:10 +00:00
#316.new-simpleLineBreaks-option-breaks-lists.md fix(simpleLineBreaks): fix simpleLineBreak option breaking lists html 2016-12-20 23:57:10 +00:00
#318.simpleLineBreaks-does-not-work-with-chinese-characters.html fix(simpleLineBreaks): fix simpleLineBreaks option not working with non-ASCII chars and markdown delimiters 2017-01-06 03:51:12 +00:00
#318.simpleLineBreaks-does-not-work-with-chinese-characters.md fix(simpleLineBreaks): fix simpleLineBreaks option not working with non-ASCII chars and markdown delimiters 2017-01-06 03:51:12 +00:00
#320.github-compatible-generated-header-id.html fix(encodeAmpsAndAngles): fix > and < encoding 2017-02-06 03:28:49 +00:00
#320.github-compatible-generated-header-id.md fix(ghCompatibleHeaderId): improve the number of removed chars 2016-12-30 19:46:46 +00:00
#323.simpleLineBreaks-breaks-with-strong.html fix(simpleLineBreaks): fix simpleLineBreaks option not working with non-ASCII chars and markdown delimiters 2017-01-06 03:51:12 +00:00
#323.simpleLineBreaks-breaks-with-strong.md test: add newline at end of test files 2017-01-28 01:46:33 +00:00
#330.simplifiedAutoLink-drops-character-before-and-after-linked-mail.html fix(simplifiedAutoLink): fix missing spaces before and after email addresses 2017-01-27 19:25:46 +00:00
#330.simplifiedAutoLink-drops-character-before-and-after-linked-mail.md test: add newline at end of test files 2017-01-28 01:46:33 +00:00
#331.allow-escaping-of-tilde.html test: add some strikethrough tests 2017-01-29 00:26:29 +00:00
#331.allow-escaping-of-tilde.md test: add some strikethrough tests 2017-01-29 00:26:29 +00:00
#378.simplifiedAutoLinks-with-excludeTrailingPunctuationFromURLs.html fix(excludeTrailingPunctuationFromURLs): fix weird character when this option with simplifiedAutoLinks 2017-04-23 02:14:56 +01:00
#378.simplifiedAutoLinks-with-excludeTrailingPunctuationFromURLs.md fix(excludeTrailingPunctuationFromURLs): fix weird character when this option with simplifiedAutoLinks 2017-04-23 02:14:56 +01:00
#379.openLinksInNewWindow-breaks-em-markdup.html fix(openLinksInNewWindow): encode _ to prevent clash with em 2017-04-25 22:13:27 +01:00
#379.openLinksInNewWindow-breaks-em-markdup.md fix(openLinksInNewWindow): encode _ to prevent clash with em 2017-04-25 22:13:27 +01:00
customizedHeaderId-simple.html feat(customizeHeaderId): add option for customizing header ids 2017-06-01 02:35:42 +01:00
customizedHeaderId-simple.md feat(customizeHeaderId): add option for customizing header ids 2017-06-01 02:35:42 +01:00
disable-email-encoding.html feat(encodeEmail): add option to enable/disable mail obfuscation 2017-01-27 19:03:37 +00:00
disable-email-encoding.md feat(encodeEmail): add option to enable/disable mail obfuscation 2017-01-27 19:03:37 +00:00
disable-gh-codeblocks.html fix(double linebreaks): fix double linebreaks in html output 2016-09-29 00:50:58 +01:00
disable-gh-codeblocks.md test: add newline at end of test files 2017-01-28 01:46:33 +00:00
disableForced4SpacesIndentedSublists.html fix(simpleLineBreaks): fix simpleLineBreak option breaking lists html 2016-12-20 23:57:10 +00:00
disableForced4SpacesIndentedSublists.md feat(disableForced4SpacesIndentedSublists): option that disables the requirement of indenting nested sublists by 4 spaces 2016-11-11 08:15:24 +00:00
enable-literalMidWordAsterisks.html feat(literalMidWordAsterisks): add option for mid word asterisks 2017-04-05 16:25:20 +01:00
enable-literalMidWordAsterisks.md feat(literalMidWordAsterisks): add option for mid word asterisks 2017-04-05 16:25:20 +01:00
excludeTrailingPunctuationFromURLs-option.html fix(excludeTrailingPunctuationFromURL): add comma to punctuation list 2017-03-09 00:43:45 +00:00
excludeTrailingPunctuationFromURLs-option.md fix(excludeTrailingPunctuationFromURL): add comma to punctuation list 2017-03-09 00:43:45 +00:00
ghMentions.html feat(ghMentionsLink): add ability to define the generated url in @mentions 2017-01-28 04:28:50 +00:00
ghMentions.md chore: improve ghMentions 2017-01-06 04:58:28 +00:00
prefixHeaderId-simple.html fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
prefixHeaderId-simple.md fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
prefixHeaderId-string-and-ghCompatibleHeaderId.html fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
prefixHeaderId-string-and-ghCompatibleHeaderId.md fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
prefixHeaderId-string-and-ghCompatibleHeaderId2.html fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
prefixHeaderId-string-and-ghCompatibleHeaderId2.md fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
prefixHeaderId-string.html fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
prefixHeaderId-string.md fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id 2017-02-06 05:37:49 +00:00
requireSpaceBeforeHeadingText.html feat(requireSpaceBeforeHeadingText): option to make space between # and header text mandatory 2016-12-17 06:01:15 +00:00
requireSpaceBeforeHeadingText.md feat(requireSpaceBeforeHeadingText): option to make space between # and header text mandatory 2016-12-17 06:01:15 +00:00
simpleLineBreaks-handle-html-pre.html test: add test for simpleLineBreak and pre tags 2017-01-30 18:11:13 +00:00
simpleLineBreaks-handle-html-pre.md test: add test for simpleLineBreak and pre tags 2017-01-30 18:11:13 +00:00
simpleLineBreaks2.html fix(simpleLineBreaks): fix simpleLineBreaks option not working with non-ASCII chars and markdown delimiters 2017-01-06 03:51:12 +00:00
simpleLineBreaks2.md fix(simpleLineBreaks): fix simpleLineBreaks option not working with non-ASCII chars and markdown delimiters 2017-01-06 03:51:12 +00:00