multiplatform-markdown-renderer
multiplatform-markdown-renderer copied to clipboard
Add JS support
About this issue
-
Briefly describe the issue
-
How can the issue be reproduced / sample code Hi, I'm using Compose for Web as a
kotlin("js")project and I installed the library in multiplatform, but I still can't use it in my project, I'm in Compose1.2.0-apha01-dev753using Kotlin1.7.0with Gradle7.5.0and the library in0.6.1with Intellij 2022.2.
Checklist
- [X] Searched for similar issues
- [X] Checked out the sample application
- [X] Read the README
- [X] Checked out the CHANGELOG
- [X] Read the FAQ
- [X] Checked out the MIGRATION GUIDE
Currently there is no support for kotlin('js') just for JVM and Android.
https://github.com/mikepenz/multiplatform-markdown-renderer#setup
Would be interesting to see if somebody would like to contribute JS support.
Unfortunately this is currently still not possible as the org.jetbrains:markdown does not offer a wasm variant
Just created an issue at JB markdown repo: https://github.com/JetBrains/markdown/issues/140
JB markdown library just got Kotlin/Wasm support! https://github.com/JetBrains/markdown/issues/140
Thanks! Saw it already and awaiting the release to be available🎉
@joreilly very very soon :D https://github.com/JetBrains/markdown/commit/4961bfd049c9c82aeb8f8f30013216acc23b5a61
refreshing maven central (unfortunately not yet there :D https://repo1.maven.org/maven2/org/jetbrains/markdown/)
Unfortunately it seems the 0.7.0 release is not yet synced to maven central. Need to be a bit more patient :D
The wasm target was added in 0.14.0. Sonatype seems a bit slow right now. so syncing might take a while, but the staging repo is closed. 🥳