multiplatform-markdown-renderer icon indicating copy to clipboard operation
multiplatform-markdown-renderer copied to clipboard

Add JS support

Open Ayfri opened this issue 3 years ago • 3 comments

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 Compose 1.2.0-apha01-dev753 using Kotlin 1.7.0 with Gradle 7.5.0 and the library in 0.6.1 with Intellij 2022.2.

Checklist

Ayfri avatar Aug 01 '22 13:08 Ayfri

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.

mikepenz avatar Aug 01 '22 14:08 mikepenz

Unfortunately this is currently still not possible as the org.jetbrains:markdown does not offer a wasm variant

mikepenz avatar Nov 04 '23 11:11 mikepenz

Just created an issue at JB markdown repo: https://github.com/JetBrains/markdown/issues/140

Melodeiro avatar Dec 15 '23 06:12 Melodeiro

JB markdown library just got Kotlin/Wasm support! https://github.com/JetBrains/markdown/issues/140

joreilly avatar Apr 02 '24 17:04 joreilly

Thanks! Saw it already and awaiting the release to be available🎉

mikepenz avatar Apr 02 '24 17:04 mikepenz

@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/)

mikepenz avatar Apr 03 '24 12:04 mikepenz

Unfortunately it seems the 0.7.0 release is not yet synced to maven central. Need to be a bit more patient :D

mikepenz avatar Apr 04 '24 07:04 mikepenz

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. 🥳

mikepenz avatar Apr 05 '24 09:04 mikepenz