diff --git a/CHANGELOG.md b/CHANGELOG.md index 23cbd67..4c59991 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,14 @@ # Changelog -## 0.6 Unreleased +## Unreleased -* We're swapping out GraalJS in favour of [commonmark-java](https://github.com/markdown-it/markdown-it) on the JVM side. The cljs implementation stays the same. -* Comply with commonmark's suggested rendering of images by default ([#18](https://github.com/nextjournal/markdown/issues/18)). This is a breaking change. +... + +## 0.6.157 + +* Swap out GraalJS ([#28](https://github.com/nextjournal/markdown/issues/28)) in favour of [commonmark-java](https://github.com/markdown-it/markdown-it) on the JVM side. + This makes the library compatible with Java 22 and yields an approximate speedup of 10x. The clojurescript implementation stays the same. +* Comply with commonmark rendering of images by default (see [#18](https://github.com/nextjournal/markdown/issues/18)). ## 0.5.148 diff --git a/README.md b/README.md index 1bef4a3..4dcdaf0 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,7 @@ A cross-platform clojure library for [Markdown](https://en.wikipedia.org/wiki/Ma ## Flavor -By building on top of [markdown-it](https://github.com/markdown-it/markdown-it), we adhere to [CommonMark Spec](https://spec.commonmark.org/0.30/) (with some exceptions[^images]) and also comply with extensions from [Github flavoured Markdown](https://github.github.com/gfm). Additionally, we parse $\LaTeX$ formulas (delimited by a $ for inline rendering or $$ for display mode). - -For more details you might have a look at [the set of plugins](https://github.com/nextjournal/markdown/blob/main/src/js/markdown.js) we're using. +We adhere to [CommonMark Spec](https://spec.commonmark.org/0.30/) and comply with extensions from [Github flavoured Markdown](https://github.github.com/gfm). Additionally, we parse $\LaTeX$ formulas (delimited by a $ for inline rendering or $$ for display mode). ## Usage @@ -116,6 +114,3 @@ The transformation of markdown node types can be customised like this: ## Extensibility We added minimal tooling for [extending markdown expressions](https://nextjournal.github.io/markdown/notebooks/parsing_extensibility). - -[^images]: isolated images are not wrapped in a paragraph -node, unless they're part of inline content. See more examples in this [notebook](https://nextjournal.github.io/markdown/notebooks/images). diff --git a/resources/META-INF/nextjournal/markdown/meta.edn b/resources/META-INF/nextjournal/markdown/meta.edn index ddbdb0b..c93f38b 100644 --- a/resources/META-INF/nextjournal/markdown/meta.edn +++ b/resources/META-INF/nextjournal/markdown/meta.edn @@ -1 +1 @@ -{:version "0.5.148"} \ No newline at end of file +{:version "0.6.157"} \ No newline at end of file