requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Use frontmatter instead of HTML comments #161

Closed marianhlavac closed 5 years ago

marianhlavac commented 5 years ago

HTML comments aren't hidden in every Markdown renderer, you should avoid them. On Bitbucket the comments are visible and it's very ugly.

Using Frontmatter for metadata is more civilized than mixing meaningless HTML comments in Markdown text. It is widely supported (or definitely more widely than HTML comments).

https://jekyllrb.com/docs/front-matter/

NGPixel commented 5 years ago

This is now the case in 2.0.