Back to packages list

Vals using marked

Description from the NPM package:
A markdown parser built for speed
xkonti avatar
markdownToHtml
@xkonti
Script
Converts markdown string into HTML string. Usage example: import { markdownToHtml } from "https://esm.town/v/xkonti/markdownToHtml"; const markdown = ` # Hello there How are you doing *these* days? `; const html = await markdownToHtml(markdown); console.log(html)
luke_rmaki avatar
email_apod
@luke_rmaki
Cron
An interactive, runnable TypeScript val by luke_rmaki
char_lie avatar
art_app
@char_lie
HTTP
An interactive, runnable TypeScript val by char_lie
neverstew avatar
markdownExample
@neverstew
HTTP
An interactive, runnable TypeScript val by neverstew
davidmchan avatar
updateCoffee
@davidmchan
Script
An interactive, runnable TypeScript val by davidmchan
tmcw avatar
markedExample
@tmcw
Script
marked marked is a classic Markdown parser in JavaScript. I really don't like it! I don't recommend it! The people who made it and worked on it are great, but I think you really shouldn't use it. It supports a non-standard variation of Markdown, so you can't easily switch to another parser once you've encouraged people to write "in the marked style" It allows but doesn't sanitize HTML, which promotes a lot of XSS attacks It doesn't use an intermediate AST like remark or support plugins. Really it's a much better idea to use micromark or remark .
vtdocs avatar
markdownExample
@vtdocs
Express
An interactive, runnable TypeScript val by vtdocs
1
Next