Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JS support #55

Closed
6 tasks done
Ayfri opened this issue Aug 1, 2022 · 8 comments · Fixed by #126
Closed
6 tasks done

Add JS support #55

Ayfri opened this issue Aug 1, 2022 · 8 comments · Fixed by #126

Comments

@Ayfri
Copy link

Ayfri commented Aug 1, 2022

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

@mikepenz
Copy link
Owner

mikepenz commented Aug 1, 2022

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
Copy link
Owner

mikepenz commented Nov 4, 2023

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

@Melodeiro
Copy link

Melodeiro commented Dec 15, 2023

Just created an issue at JB markdown repo: JetBrains/markdown#140

@joreilly
Copy link

joreilly commented Apr 2, 2024

JB markdown library just got Kotlin/Wasm support! JetBrains/markdown#140

@mikepenz
Copy link
Owner

mikepenz commented Apr 2, 2024

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

@mikepenz
Copy link
Owner

mikepenz commented Apr 3, 2024

@joreilly very very soon :D JetBrains/markdown@4961bfd

refreshing maven central (unfortunately not yet there :D https://repo1.maven.org/maven2/org/jetbrains/markdown/)

@mikepenz
Copy link
Owner

mikepenz commented Apr 4, 2024

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

@mikepenz
Copy link
Owner

mikepenz commented Apr 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants