Front-matter broken. Also add documentation
No idea what is the purpose of this plugin
Actually I have not any idea what this plugin can do 😂
https://github.com/egoist/docute/blob/0096fc1327b695f810ea652cb0adbe0c1cddccec/src/views/Page.vue#L273-L288
It overrides page attributes as far as I can tell.
I would either document this properly or remove it so users don't waste their time chasing something that isn't usable.
This is used to remove the front matter section that is located at the top of technical markdown documentation.
---
Title: XXX
Ref: 123
Authors: Some Guy
Created: 2018-05-24
---
Just having come across this myself, how are the attributes from the front-matter used by Docsify? Are the attributes used at all by the core, or are they simple extracted to then be used by other plugins after the fact?
Just having come across this myself, how are the attributes from the front-matter used by Docsify? Are the attributes used at all by the core, or are they simple extracted to then be used by other plugins after the fact?
I think it just strips them based on the comment above.
Re-opening, this should be documented.
Still no document about front-matter.
And https://docsify.js.org/#/embed-files?id=markdown-with-yaml-front-matter gave a wrong example, in which the front-matter plugin didn't work.
example-with-yaml.md:
Oh, yeah, that's broken! Anyone have time to fix this one?