diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-01-04 13:26:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-01-04 17:10:39 +0100 |
commit | 1651beb2c162f64a55d17f8f62223d82418569c9 (patch) | |
tree | 05a18253c54384a31cade948189f7b58d4608a17 /hugolib | |
parent | 2b6063c3e388056597af88709ff017d15f53c962 (diff) | |
download | hugo-1651beb2c162f64a55d17f8f62223d82418569c9.tar.gz hugo-1651beb2c162f64a55d17f8f62223d82418569c9.zip |
Remove mmark
Closes #9350
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/page_test.go | 1 | ||||
-rw-r--r-- | hugolib/shortcode_test.go | 17 |
2 files changed, 5 insertions, 13 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go index c59177652..7d55787c8 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -375,7 +375,6 @@ func testAllMarkdownEnginesForPages(t *testing.T, shouldExecute func() bool }{ {"md", func() bool { return true }}, - {"mmark", func() bool { return true }}, {"ad", func() bool { return asciidocext.Supports() }}, {"rst", func() bool { return rst.Supports() }}, } diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 6316afc98..9fc9a9675 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -533,17 +533,7 @@ e`, filepath.FromSlash("public/sect/doc8/index.html"), "<div class=\"document\">\n\n\n<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n</div>", }, - { - "sect/doc9.mmark", ` ---- -menu: - main: - parent: 'parent' ---- -**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`, - filepath.FromSlash("public/sect/doc9/index.html"), - "<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n", - }, + // Issue #1229: Menus not available in shortcode. { "sect/doc10.md", `--- @@ -562,6 +552,9 @@ tags: "sect/doc11.md", `--- tags: - Bugs +menu: + main: + parent: 'parent' --- **Tags:** {{< tags >}}`, filepath.FromSlash("public/sect/doc11/index.html"), @@ -1390,7 +1383,7 @@ outputs: ["html", "css", "csv", "json"] b.Build(BuildCfg{}) - //helpers.PrintFs(b.Fs.Destination, "public", os.Stdout) + // helpers.PrintFs(b.Fs.Destination, "public", os.Stdout) for i := 0; i < numPages; i++ { b.AssertFileContent(fmt.Sprintf("public/page%d/index.html", i), "Short-HTML") |