Parsing Markdown in Vue with the Marked Library

Опубликовано: 19 Октябрь 2024
на канале: Suboptimal Engineer
8,567
210

In this basics of Vue.js video, I go over how to display markdown text in a Vue app using the Marked NPM library. Marked.js is a markdown parser and compiler — built for speed.

🐦 Twitter -   / suboptimaleng  
💻 GitHub - https://github.com/SuboptimalEng
🌎 Website - https://suboptimaleng.com

== [ Resources ] ==
Remark GitHub Repo: https://github.com/remarkjs/remark
Marked GitHub Repo: https://github.com/markedjs/marked
Markdown It GitHub Repo: https://github.com/markdown-it/markdo...
Marked Global Import: https://forum.vuejs.org/t/parsing-mar...

== [ Timestamps ] ==
00:00 Intro
01:24 Markdown-it vs Remark vs Marked
02:19 Importing Marked in Script Tag
02:55 Create Vue CLI App
05:08 Marked.js Installation + Setup
06:19 Render Markdown Live
07:51 Why Make a Global Import?
08:31 Marked Vue Mixin
11:00 Fin

== [ Tags ] ==
#suboptimal #vuejs #markdown