marked
marked copied to clipboard
A markdown parser and compiler. Built for speed.
**Marked version:** 2.0.0 **Describe the bug** [JSDOC-to-Markdown](https://github.com/jsdoc2md/jsdoc-to-markdown/) generates the following markdown: ```md #### HOOK.add(dstObj, triggers, fn, [priority]) ⇒ Number ``` which Marked then dutifully transforms into this monstrosity: ```html ```...
In version 2.0.1 marked team closed my issue #1947 about space in the last list item in lexer. Thank you, I was happy to receive email about it. Now space...
## Description Move most options to Hooks. This PR might not get merged until v3 but I wanted to throw it out there and see what people think. The idea...
**Describe the bug** `key` doesn't seem to be generating correctly for us. See final rendered output at https://openuserjs.org/about/Falkon#debugging and source for this file [here](https://github.com/OpenUserJS/OpenUserJS.org/blob/bc85876ea0b158c500b4fc7a830aaac1f9614122/views/includes/documents/Falkon.md). See also: * Report from an...
[Marked](https://marked.js.org/demo/?text=%5B%60%60%20this%20is%20a%20backtick%20%60%20and%20it%20breaks%20stuff%20%60%60%5D(https%3A%2F%2Fexample.com)%0A&options=%7B%0A%20%22baseUrl%22%3A%20null%2C%0A%20%22breaks%22%3A%20false%2C%0A%20%22gfm%22%3A%20true%2C%0A%20%22headerIds%22%3A%20true%2C%0A%20%22headerPrefix%22%3A%20%22%22%2C%0A%20%22highlight%22%3A%20null%2C%0A%20%22langPrefix%22%3A%20%22language-%22%2C%0A%20%22mangle%22%3A%20true%2C%0A%20%22pedantic%22%3A%20false%2C%0A%20%22sanitize%22%3A%20false%2C%0A%20%22sanitizer%22%3A%20null%2C%0A%20%22silent%22%3A%20false%2C%0A%20%22smartLists%22%3A%20false%2C%0A%20%22smartypants%22%3A%20false%2C%0A%20%22tokenizer%22%3A%20null%2C%0A%20%22xhtml%22%3A%20false%0A%7D&version=master) [CommonMark](https://spec.commonmark.org/dingus/?text=%5B%60%60%20this%20is%20a%20backtick%20%60%20and%20it%20breaks%20stuff%20%60%60%5D(https%3A%2F%2Fexample.com)%0A) It used to work in [Marked 0.6.3](https://marked.js.org/demo/?text=%5B%60%60%20this%20is%20a%20backtick%20%60%20and%20it%20breaks%20stuff%20%60%60%5D(https%3A%2F%2Fexample.com)%0A&options=%7B%0A%20%22baseUrl%22%3A%20null%2C%0A%20%22breaks%22%3A%20false%2C%0A%20%22gfm%22%3A%20true%2C%0A%20%22headerIds%22%3A%20true%2C%0A%20%22headerPrefix%22%3A%20%22%22%2C%0A%20%22highlight%22%3A%20null%2C%0A%20%22langPrefix%22%3A%20%22language-%22%2C%0A%20%22mangle%22%3A%20true%2C%0A%20%22pedantic%22%3A%20false%2C%0A%20%22sanitize%22%3A%20false%2C%0A%20%22sanitizer%22%3A%20null%2C%0A%20%22silent%22%3A%20false%2C%0A%20%22smartLists%22%3A%20false%2C%0A%20%22smartypants%22%3A%20false%2C%0A%20%22tokenizer%22%3A%20null%2C%0A%20%22xhtml%22%3A%20false%0A%7D&version=0.6.3)
I couldn't find this in the docs, but I was wondering if there was a way to set up some sort of catch-all method for HTML tags that don't match...
**What pain point are you perceiving?.** Now I need install @types/marked before using marked in TS. **Describe the solution you'd like** Package declaration files with marked.
## Reasoning Default esm exports can be useful for their simplicity. Your module exports only a single function or a simple object? A default export can save the enduser a...
**Describe the bug** Code blocks are very controlled content, where the author has intent (and full responsibility) on everything inside it. Right now, tabs inside code blocks are replaced by...
check this preview [link](https://marked.js.org/demo/?text=-%20obj%0A%60%60%60js%0Aconst%20a%20%3D%20%7B%0A%20%20b%3A%20%7B%0A%20%20%20%20C%3A%20%22c%22%2C%0A%20%20%7D%2C%0A%20%20a%3A%20%22a%22%2C%0A%7D%3B%0A%60%60%60%0A%0A&options=%7B%0A%20%22baseUrl%22%3A%20null%2C%0A%20%22breaks%22%3A%20false%2C%0A%20%22gfm%22%3A%20true%2C%0A%20%22headerIds%22%3A%20true%2C%0A%20%22headerPrefix%22%3A%20%22%22%2C%0A%20%22highlight%22%3A%20null%2C%0A%20%22langPrefix%22%3A%20%22language-%22%2C%0A%20%22mangle%22%3A%20true%2C%0A%20%22pedantic%22%3A%20false%2C%0A%20%22sanitize%22%3A%20false%2C%0A%20%22sanitizer%22%3A%20null%2C%0A%20%22silent%22%3A%20false%2C%0A%20%22smartLists%22%3A%20false%2C%0A%20%22smartypants%22%3A%20false%2C%0A%20%22xhtml%22%3A%20false%0A%7D&version=master) There is an indent missing in line 2. I've seen a similar issue [#885](https://github.com/markedjs/marked/issues/885), but the issue closed with no solution presented.