How to parser Markdown Editor to html?

Viewed 17

I'm forced to use a markdown editor but it doesn't support rendering ,

    ... tags, it will look like this:

    **Title 1**
     - content1
     - Content2
     - Content3
    **Title 2**
     - content1
     - Content2
     - Content3
    **Title 3**
     - content1
     - Content2
     - Content3
    

    and I am using VueJS(v-html) to display the content of markdown however it won't be able to understand this markdown. So how do I make the content display correctly:

    Title 1

    • content1

    • Content2

    • Content3

    Title 2

    • content1

    • Content2

    • Content3

    Title 3

  • content1

  • Content2

  • Content3

0 Answers
Related