markdown-clj icon indicating copy to clipboard operation
markdown-clj copied to clipboard

Markdown parser in Clojure

Results 27 markdown-clj issues
Sort by recently updated
recently updated
newest added

Everything within backquotes should be rendered literally, but it seems that markdown-clj is converting `--` to a single en-dash. Here's a line that fails: ``` * `./build-rxl-version.sh --release ` -...

bug
help wanted

Whenever I try to parse with metadata in ClojureScript I have the pre assertion `(sequential? lines-seq)` that prevent the execution of the function : `markdown.transformers/parse-metadata-headers` It seems that the problem...

When switching from `1.10.9` to `1.11.0` I noticed that markdown-clj is no longer able to parse some of my input files, throwing an exception. I managed to narrow it down...

Repro: ```clojure (markdown.core/md-to-html-string "foo_bar_baz") ;;=> "foobarbaz" ``` Expected: ```clojure (markdown.core/md-to-html-string "foo_bar_baz") ;;=> "foo_bar_baz" ``` For reference, see [this commonmark.js dingus](https://spec.commonmark.org/dingus/?text=foo_bar_baz).

enhancement
help wanted

I was a bit surprised to realize that `markdown-clj`'s default interpretation of a newline is as a no-op, versus a space, in contrast with other markdown processing tools. While I'd...

enhancement
help wanted

The automatic link parser fails if URLs contains an apostrophe. #### Plain URL The automatic link normally takes a URL like this: `(md-to-html-string "Test: ")` And generates an anchor tag...

bug
help wanted

Hi, where is the changelog file?

Hello! I noticed this behavior, which is not what I would have expected: ``` > (markdown.core/md-to-html-string "1. one\n2. two\n\n* three\n* four") "onetwothreefour" > (markdown.core/md-to-html-string "1. one\n2. two\n\n\n* three\n* four") "onetwothreefour"...

bug

Is there currently a way to set the target within links? Eg. add a ` target="_blank"` to the links so that they open in a new tab / window?

If you have a newline in the link text of a markdown link, the parser spits it out verbatim: ```md [Here is a long link text](/page) ``` This is rendered...