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.

- [ ] vuejs markdown not support

See original GitHub issue
  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

What is expected?

What is actually happening?

Other relevant information

  • vuejs markdown not support
  • Output of npx vuepress info in my VuePress project:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jsbaguettecommented, Aug 8, 2019

@wsdo just to help you on that

What it should look like with markdown-it-task-lists plugin


module.exports = {
  title: 'VuePress Docgen',
  description: 'Preview your components',
  themeConfig: {
    nav: [
      { text: 'Home', link: '/' }
    ]
  },
  markdown: {
    extendMarkdown: md => {
      md.use(require('markdown-it-task-lists'), {enabled: true});
    }
  }
}

Now with that example you should have beautiful todo

### Solar System Exploration, 1950s – 1960s

- [ ] Mercury
- [x] Venus
- [x] Earth (Orbit/Moon)
- [x] Mars
- [ ] Jupiter
- [ ] Saturn
- [ ] Uranus
- [ ] Neptune
- [ ] Comet Haley

If it’s ok for you we can close the issue give me your feedback 😃

0reactions
sarahdayancommented, Aug 9, 2019

We’re going to close this one now as @f3ltron’s solution is fixing the issue. We’ll make it clearer in the docs how to extend the existing Markdown configuration with markdown-it plugins, and consider what types of plugins we want to add by default in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Parse and Render Markdown In Vuejs
Markdown is a tool to help you write HTML without the hustle of the tags, however turning it into HTML is not that...
Read more >
Using Vue in Markdown - VitePress
In VitePress, each markdown file is compiled into HTML and then processed as a Vue Single-File Component. This means you can use any...
Read more >
Render Markdown In Vue JS - Stack Overflow
I would like to be able to use markdown in the description so I used npm install marked It works fine when I...
Read more >
vue-markdown - npm
Start using vue-markdown in your project by running `npm i ... Supported Markdown Syntax: ... <script src="path/to/vue.js"></script>.
Read more >
Build A Vue.js Markdown Renderer Component
The image is acting strange on window resize, we need to add some CSS styles to fix this issue. · The code snippet...
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