Skip to content

Latest commit

 

History

History
574 lines (493 loc) · 6.18 KB

commonmark_extras.md

File metadata and controls

574 lines (493 loc) · 6.18 KB

Issue #246. Double escaping in ALT . & .

&

.

Strip markdown in ALT tags . strip markdown in alt .

strip markdown in alt

.

Issue #55: . ![test]

![test](foo bar) .

![test]

![test](foo bar)

.

Reference labels: 'i̇θωkå'.toUpperCase() is 'İΘΩKÅ', but these should still be equivalent . İϴΩKÅ

.

İϴΩKÅ

.

Reference labels: support ligatures (equivalent according to unicode case folding) . fffifl

.

fffifl

.

Issue #35. < should work as punctuation . an (:
.

an (:

.

Should unescape only needed things in link destinations/titles: . test

test .

test

test

.

Not a closing tag . </ 123> .

</ 123>

.

Escaping entities in links: .

.

.

Checking combination of replaceEntities and unescapeMd: .

just a funny little fence

.

just a funny little fence

.

Underscore between punctuation chars should be able to close emphasis.

. (hai). .

(hai).

.

Regression test, should not match emphasis markers in different link tags: . *b c* .

*b c*

.

Those are two separate blockquotes: .

  • foo

bar .

  • foo

bar

.

Blockquote should terminate itself after paragraph continuation .

  • list

    blockquote blockquote continuation

    • next list item .
  • list

    blockquote blockquote continuation

    • next list item
.

Regression test (code block + regular paragraph) .

foo

bar .

foo

bar

.

Blockquotes inside indented lists should terminate correctly .

  • a

    b

    c
    
  • d .
  • a

    b

    c
    
  • d
.

Don't output empty class here: .

test

.

test

.

Setext header text supports lazy continuations: .

  • foo bar

.

  • foo bar

.

But setext header underline doesn't: .

  • foo bar === .
  • foo bar ===
.

Tabs should be stripped from the beginning of the line . foo bar baz .

foo bar baz

.

Tabs should not cause hardbreak, EOL tabs aren't stripped in commonmark 0.27 . foo1 foo2
bar .

foo1 foo2
bar

.

List item terminating quote should not be paragraph continuation .

  1. foo

    quote

  2. bar .
  1. foo

    quote

  2. bar
.

Coverage. Directive can terminate paragraph. . a

a

* .

foo@bar.com

. Coverage. Unpaired nested backtick (silent mode) . *`foo* .

`foo

. Coverage. Entities. . *&* * * *&* .

&

&

. Coverage. Escape. . *\a* .

\a

. Coverage. parseLinkDestination . [foo](< bar>) [foo]([foo](< bar>)

[foo](<bar)

. Coverage. parseLinkTitle . [foo](bar "ba) [foo](bar "ba\ z") .

[foo](bar "ba)

foo

. Coverage. Image . ![test]( x ) .

test

. . ![test][foo] [bar]: 123 .

![test][foo]

. . ![test][[[ [bar]: 123 .

![test][[[

. . ![test]( .

![test](

. Coverage. Link . [test]( .

[test](

. Coverage. Reference . [ test\ ]: 123 foo bar .

foo bar

. . [ test ] .

[ test ]

. . > [foo]: bar [foo] .

foo

. Coverage. Tabs in blockquotes. . > test > test > test > --- > test > --- > test > --- > test > test > test > test > --- > test > --- > test > --- > test .
  test
 test
test

  test

 test

test
  	test
 	test
	test

  	test

 	test

	test
. Coverage. Tabs in lists. . 1. foo bar .
  1. foo

     bar
    
. Coverage. Various tags not interrupting blockquotes because of indentation: . > foo - - - - > foo # not a heading .

foo - - - -

foo # not a heading

. Coverage, entities with code > 10FFFF. Made this way for compatibility with commonmark.js. . � � .

&#x1100000;

. Issue #696. Blockquotes should remember their level. . >>> foo bar >>> baz .

foo bar baz

. Issue #696. Blockquotes should stop when outdented from a list. . 1. >>> foo bar baz >>> foo >>> bar >>> baz .
  1. foo bar baz foo

bar baz

.