mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-05 00:32:03 +00:00
Add shortcode test for mmark
This commit is contained in:
parent
c0eedfe956
commit
e9924e964b
|
@ -473,6 +473,9 @@ e`,
|
||||||
{"sect/doc8.rst", `**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`,
|
{"sect/doc8.rst", `**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`,
|
||||||
filepath.FromSlash("sect/doc8/index.html"),
|
filepath.FromSlash("sect/doc8/index.html"),
|
||||||
"<div class=\"document\">\n\n\n<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n</div>"},
|
"<div class=\"document\">\n\n\n<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n</div>"},
|
||||||
|
{"sect/doc9.mmark", `**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`,
|
||||||
|
filepath.FromSlash("sect/doc9/index.html"),
|
||||||
|
"<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n"},
|
||||||
}
|
}
|
||||||
|
|
||||||
sources := make([]source.ByteSource, len(tests))
|
sources := make([]source.ByteSource, len(tests))
|
||||||
|
|
Loading…
Reference in a new issue