Vuepress like features in md file like Templating and Alert Infoboxes
See original GitHub issueIs your feature request related to a problem? Please describe.
- Currently, even for displaying basic lists in
.md
file, we have to createlist
component inglobal
folder and pass Frontmatter’s property to it as a prop. - Similarly, we cannot display the properties in the Frontmatter inside the
.md
file’s body. We can only pass them as props in components, thus making it necessary to create component for each and every small thing. - Sometimes, we need Infoboxes (like information, warning, success) in
.md
file. Currently, the only option is to create a slot-based component as pass props into it. In Vuepress, it comes handy with custom containers.
Describe the solution you’d like
- It would be great to have Templating and Interpolation possible like vuepress in the body part of
.md
file itself. remark-directive
plugin-like inbuilt solution for the 3rd problem mentioned above.
Describe alternatives you’ve considered
- People can use
remark-directive
plugin to at least avoid writing<></>
like content in md files. But that requires creating custom plugin to convert the tags and nodes, which is very difficult for novice developers. Until Vuepress likecustom components
feature is considered, at least some documentation on how to implement suchcustom plugin for general directives
in Snippets section of the website can be made available. - For Templating and Interpolation, is there any recent update scheduled?
Thank you for creating such awesome Nuxt Content module.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Markdown - VuePress 2
This section will introduce built-in Markdown syntax extensions of VuePress. ... Take our documentation source files as an example:.
Read more >Markdown Extensions | VuePress
Anchors user to a heading in the foo README file --> [bar - three](../bar/three.md) <!-- You can append .md (recommended) --> [bar -...
Read more >Guide - Craft Plugin Store
Tip Callout guide component has been replaced by Tip and Warning components that look more like native Craft info boxes. Guides are now...
Read more >The 'Maybe Static Wasn't So Bad' era - CloudCannon
“Projects were free to modify the template as desired and apply their ... To provide features that many open source websites need, like...
Read more >Add Authentication and Personalization to VuePress
With VuePress, you can focus on writing content using markdown, and the VuePress application generates static HTML files. VuePress also ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ManasMadrecha I was missing remark-directive in my plugin list. It’s working now. Thanks again I was going mad.
Exactly @ManasMadrecha