question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vuepress like features in md file like Templating and Alert Infoboxes

See original GitHub issue

Is your feature request related to a problem? Please describe.

  1. Currently, even for displaying basic lists in .md file, we have to create list component in global folder and pass Frontmatter’s property to it as a prop.
  2. 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.
  3. 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

  1. It would be great to have Templating and Interpolation possible like vuepress in the body part of .md file itself.
  2. remark-directive plugin-like inbuilt solution for the 3rd problem mentioned above.

Describe alternatives you’ve considered

  1. 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 like custom components feature is considered, at least some documentation on how to implement such custom plugin for general directives in Snippets section of the website can be made available.
  2. For Templating and Interpolation, is there any recent update scheduled?

Thank you for creating such awesome Nuxt Content module.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sp0kencommented, Mar 29, 2021

@ManasMadrecha I was missing remark-directive in my plugin list. It’s working now. Thanks again I was going mad.

0reactions
Atinuxcommented, Jun 9, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found