atooni / mill-mdoc

Simple MDoc runner for mill
7 stars 3 forks source link

MDoc Scala JS support? #3

Open Quafadas opened 2 years ago

Quafadas commented 2 years ago

I conclude this isn't supported right now?

atooni commented 1 year ago

Good questions - I have not tried it. The plugin is a very simple wrapper around https://scalameta.org/mdoc/.

At the end of the day, it simply checks if your code embedded in mdocs can be compiled and potentially performs some statements as it would within the REPL.

At least the compile step should work for ScalaJS as well with a proper project setup.