markz
On this page

micromark-extension-directive

micromark-extension-directive (syntax, text) › should not support an empty shortcut (#)

:a{.#b}

micromark-extension-directive (syntax, text) › should not support an empty shortcut (})

:a{.}

micromark-extension-directive (syntax, text) › should not support certain characters in shortcuts (")

:a{.a"b}

micromark-extension-directive (syntax, text) › should not support certain characters in shortcuts (<)

:a{.a<b}

micromark-extension-directive (syntax, leaf) › should support a digit in a name

::a9

micromark-extension-directive (syntax, leaf) › should support a dash in a name

::a-b

micromark-extension-directive (syntax, leaf) › should support an empty label

::a[]

micromark-extension-directive (syntax, leaf) › should support a whitespace only label

::a[ →]

micromark-extension-directive (syntax, leaf) › should support content in a label

::a[a b c]

micromark-extension-directive (syntax, leaf) › should support markdown in a label

::a[a *b* c]

micromark-extension-directive (syntax, leaf) › should support empty attributes

::a{}

micromark-extension-directive (syntax, leaf) › should support whitespace only attributes

::a{ →}

micromark-extension-directive (syntax, leaf) › should support attributes w/o values

::a{a b c}

micromark-extension-directive (syntax, leaf) › should support attributes w/ non-ascii letters

::planet{плутон}

micromark-extension-directive (syntax, leaf) › should support attributes w/ unquoted values

::a{a=b c=d}

micromark-extension-directive (syntax, leaf) › should support attributes w/ class shortcut

::a{.a .b}

micromark-extension-directive (syntax, leaf) › should support attributes w/ id shortcut

::a{#a #b}

micromark-extension-directive (syntax, leaf) › should support non-ascii characters in shortcuts

::a{#بلوتو}

micromark-extension-directive (syntax, leaf) › should support most characters in shortcuts

::a{.a💚b}

micromark-extension-directive (syntax, leaf) › should support double quoted attributes

::a{a="b" c="d e f"}

micromark-extension-directive (syntax, leaf) › should support single quoted attributes

::a{a='b' c='d e f'}

micromark-extension-directive (syntax, leaf) › should support whitespace around initializers

::a{a = b c→=→'d'}

micromark-extension-directive (syntax, leaf) › should not support = to start an unquoted attribute value

::a{b==}

micromark-extension-directive (syntax, leaf) › should support most other characters in unquoted attribute values

::a{b=a💚b}

micromark-extension-directive (syntax, leaf) › should not support an EOF in a quoted attribute value

::a{b="c

micromark-extension-directive (syntax, leaf) › should support most other characters in quoted attribute values

::a{b="a💚b"}

micromark-extension-directive (syntax, leaf) › should not support an EOF after a quoted attribute value

::a{b="c"

micromark-extension-directive (syntax, leaf) › should support code (indented) after a leaf

::a{b=c}
    a

micromark-extension-directive (syntax, leaf) › should support a definition after a leaf

::a{b=c}
[a]: b

micromark-extension-directive (syntax, leaf) › should support a heading (setext) after a leaf

::a{b=c}
a
=

micromark-extension-directive (syntax, leaf) › should support html after a leaf

::a{b=c}
<!-->

micromark-extension-directive (syntax, leaf) › should support a thematic break after a leaf

::a{b=c}
***

micromark-extension-directive (syntax, leaf) › should support code (indented) before a leaf

    a
::a{b=c}

micromark-extension-directive (syntax, leaf) › should support a definition before a leaf

[a]: b
::a{b=c}

micromark-extension-directive (syntax, leaf) › should support a heading (setext) before a leaf

a
=
::a{b=c}

micromark-extension-directive (syntax, leaf) › should support html before a leaf

<!-->
::a{b=c}

micromark-extension-directive (syntax, leaf) › should support a thematic break before a leaf

***
::a{b=c}

micromark-extension-directive (syntax, container) › should support a directive

:::b

micromark-extension-directive (syntax, container) › should support a digit in a name

:::a9

micromark-extension-directive (syntax, container) › should support a dash in a name

:::a-b

micromark-extension-directive (syntax, container) › should not support a name followed by an unclosed [

:::a[

micromark-extension-directive (syntax, container) › should not support a name followed by an unclosed {

:::a{

micromark-extension-directive (syntax, container) › should not support a name followed by an unclosed [ w/ content

:::a[b

micromark-extension-directive (syntax, container) › should not support a name followed by an unclosed { w/ content

:::a{b

micromark-extension-directive (syntax, container) › should support an empty label

:::a[]

micromark-extension-directive (syntax, container) › should support a whitespace only label

:::a[ →]

micromark-extension-directive (syntax, container) › should not support an eol in a label

:::a[
]

micromark-extension-directive (syntax, container) › should support content in a label

:::a[a b c]

micromark-extension-directive (syntax, container) › should support markdown in a label

:::a[a *b* c]

micromark-extension-directive (syntax, container) › should not support content after a label

:::a[]asd

micromark-extension-directive (syntax, container) › should support empty attributes

:::a{}

micromark-extension-directive (syntax, container) › should support whitespace only attributes

:::a{ →}

micromark-extension-directive (syntax, container) › should not support an eol in attributes

:::a{
}

micromark-extension-directive (syntax, container) › should support attributes w/o values

:::a{a b c}

micromark-extension-directive (syntax, container) › should support attributes w/ non-ascii letters

:::planet{плутон}

micromark-extension-directive (syntax, container) › should not support EOLs around initializers

:::a{f  =␍g}

micromark-extension-directive (syntax, container) › should not support an EOF in a quoted attribute value

:::a{b="c

micromark-extension-directive (syntax, container) › should not support EOLs in quoted attribute values

:::a{b="
c␍  d"}

micromark-extension-directive (syntax, container) › should not support an EOF after a quoted attribute value

:::a{b="c"

micromark-extension-directive (syntax, container) › should support whitespace after directives

:::a{b=c} →␣

micromark-extension-directive (syntax, container) › should support code (indented) after a container

:::a
:::
    a

micromark-extension-directive (syntax, container) › should support a definition after a container

:::a
:::
[a]: b

micromark-extension-directive (syntax, container) › should support a heading (setext) after a container

:::a
:::
a
=

micromark-extension-directive (syntax, container) › should support html after a container

:::a
:::
<!-->

micromark-extension-directive (syntax, container) › should support a thematic break after a container

:::a
:::
***

micromark-extension-directive (syntax, container) › should support code (indented) before a container

    a
:::a
b

micromark-extension-directive (syntax, container) › should support a definition before a container

[a]: b
:::a
b

micromark-extension-directive (syntax, container) › should support a heading (setext) before a container

a
=
:::a
b

micromark-extension-directive (syntax, container) › should support html before a container

<!-->
:::a
b

micromark-extension-directive (syntax, container) › should support a thematic break before a container

***
:::a
b

micromark-extension-directive (syntax, container) › should not support lazyness (1)

> :::a
b

micromark-extension-directive (syntax, container) › should not support lazyness (2)

> :::a
> b
c

micromark-extension-directive (compile) › should support fall through directives (*)

:a[:img{src="x" alt=y}]{href="z"}

content › should support EOLs in a label

:abbr[a
b␍c]

content › should support EOLs at the edges of a label (1)

:abbr[
a␍]

content › should support EOLs at the edges of a label (2)

:abbr[
]

content › should support EOLs around nested directives

:abbr[a
:abbr[b]
c]

content › should support EOLs inside nested directives (1)

:abbr[:abbr[
]]

content › should support EOLs inside nested directives (2)

:abbr[:abbr[a
b]]

content › should support EOLs inside nested directives (3)

:abbr[:abbr[
b
]]

content › should support EOLs inside nested directives (4)

:abbr[:abbr[\
]]

content › should support markdown in a label

:abbr[a *b* **c** d]

content › should support character references in single attribute values

:abbr{title='a&apos;b'}

content › should not support non-terminated character references in single quoted attribute values

:a{href='&param'}

content › should support EOLs between attributes

:span{a
b}

content › should support EOLs at the edges of attributes

:span{
a
}

content › should support EOLs before initializer

:span{a␍= b}

content › should support EOLs after initializer

:span{a=␍
b}

content › should support EOLs between an unquoted attribute value and a next attribute name

:span{a=b
c}

content › should support EOLs in a double quoted attribute value

:span{a="b
c"}

content › should support EOLs in a single quoted attribute value

:span{a='b
c'}

content › should support id shortcuts

:span{#a#b}

content › should support id shortcuts after id attributes

:span{id=a id="b" #c#d}

content › should support class shortcuts

:span{.a.b}

content › should support class shortcuts after class attributes

:span{class=a class="b c" .d.e}