Skip to content
#

Markdown

markdown logo

Markdown is a lightweight markup language. It is designed to be a simple, lightweight way to add formatting without prior HTML experience.

Here are 11,929 public repositories matching this topic...

henriquez
henriquez commented May 31, 2020

Describe the bug
I'm using rollup to bundle dependencies (for a Svelte framework web app) but having trouble importing and using markedjs. It appears the library was recently ported to ESM modules, but I don't see any documentation on how to use as such. The standard syntax to import ES6 modules give me errors:

import { marked } from 'marked.esm';
returns
(!) Unresolved dependencies

stylelint
ian-twilightcoder
ian-twilightcoder commented Dec 30, 2019

I'd like there to be an option to have code blocks be line wrapped. Maybe a check box for it in Rendering -> "Syntax highlighted code block" next to "Show line numbers" etc.?

If I try hard enough I can dig through the css files in Contents/Resources/Prism/themes and change "white-space: pre;" to "white-space: pre-wrap;", but doing so breaks the code signature of the app. And that's not a very n

Created by John Gruber

Released March 19, 2004

Website
daringfireball.net/projects/markdown
Wikipedia
Wikipedia