Skip to content

LWC that renders markdown, by a URL or String 🦄

Notifications You must be signed in to change notification settings

jsmithdev/lightndown

Repository files navigation

lightndown

LWC that renders markdown, by a URL or String 🦄

API

url --- {String} url used in fetch to pull in markdown

string --- {String} markdown to render

<c-lightndown
    string="#markdown"
    url="https://raw.githubusercontent.com/jsmithdev/lightndown/master/README.md"
></c-lightndown>

Resources

Uses tweaked version of the wonderful project Marked

https://github.com/markedjs/marked

Resets some inherited css using some of chrome's user agent values

https://chromium.googlesource.com/chromium/blink/+/master/Source/core/css/html.css

About

LWC that renders markdown, by a URL or String 🦄

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published