mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
Add shortcode test for mmark
This commit is contained in:
1 parent
c0eedfe956
commit
e9924e964b
1 file changed
+3
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user