mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Improve Org mode support: Replace goorgeous with go-org
Sadly, goorgeous has not been updated in over a year and still has a lot of open issues (e.g. no support for nested lists). go-org fixes most of those issues and supports a larger subset of Org mode syntax.
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
9df57154ee
commit
b6867bf806
@@ -1216,12 +1216,12 @@ CONTENT:{{ .Content }}
|
||||
)
|
||||
|
||||
b.AssertFileContent("public/page-org-shortcode/index.html",
|
||||
"SUMMARY:<p>This is a a shortcode.</p>:END",
|
||||
"CONTENT:<p>This is a a shortcode.</p>\n\n<p>Content.\t</p>\n",
|
||||
"SUMMARY:<p>\nThis is a a shortcode.\n</p>:END",
|
||||
"CONTENT:<p>\nThis is a a shortcode.\n</p>\n<p>\nContent.\t\n</p>\n",
|
||||
)
|
||||
b.AssertFileContent("public/page-org-variant1/index.html",
|
||||
"SUMMARY:<p>Summary.</p>:END",
|
||||
"CONTENT:<p>Summary.</p>\n\n<p>Content.\t</p>\n",
|
||||
"SUMMARY:<p>\nSummary.\n</p>:END",
|
||||
"CONTENT:<p>\nSummary.\n</p>\n<p>\nContent.\t\n</p>\n",
|
||||
)
|
||||
|
||||
b.AssertFileContent("public/page-md-only-shortcode/index.html",
|
||||
|
Reference in New Issue
Block a user