You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
QingWei-Li commentedon May 31, 2017
Actually I have not any idea what this plugin can do 😂
jrappen commentedon Oct 27, 2017
https://github.com/egoist/docute/blob/0096fc1327b695f810ea652cb0adbe0c1cddccec/src/views/Page.vue#L273-L288
It overrides page attributes as far as I can tell.
WhileLoop commentedon Apr 3, 2018
I would either document this properly or remove it so users don't waste their time chasing something that isn't usable.
cgatian commentedon Nov 2, 2018
This is used to remove the front matter section that is located at the top of technical markdown documentation.
jthegedus commentedon Jan 5, 2019
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?
trusktr commentedon Dec 8, 2021
I think it just strips them based on the comment above.
trusktr commentedon Dec 8, 2021
Re-opening, this should be documented.
thomascatlee commentedon Sep 28, 2023
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:

trusktr commentedon Sep 30, 2023
Oh, yeah, that's broken! Anyone have time to fix this one?
[-]Add documentation about front matter plugin[/-][+]Front-matter broken. Also add documentation[/+]remove front matter, close docsifyjs#168