scalameta / mdoc

Typechecked markdown documentation for Scala
https://scalameta.org/mdoc/
Apache License 2.0
394 stars 81 forks source link

MarkdownPart: move to separate mdoc-parser module #812

Closed kitbellew closed 10 months ago

kitbellew commented 10 months ago

scalafmt has an own markdown parser, to be able to format any scala code found in fenced blocks. In addition to duplicating functionality in that parser, it also doesn't support indented code blocks.

Let's instead extract the parser portion of the mdoc logic into a module so that it can be re-used. That module will have no dependencies.

Helps with scalameta/scalafmt#3672.

kitbellew commented 10 months ago

@tgodzik fyi, in case you missed this :)

tgodzik commented 10 months ago

One minor thing is due to the last update we need to release on JDK 11 now.