Ólafur Páll Geirsson
Ólafur Páll Geirsson
I published the workaround from https://github.com/scala/bug/issues/11634#issuecomment-670386111 as an independent library: ``` // Add this to build.sbt for the native-image project libraryDependencies += "org.scalameta" %% "svm-subs" % "20.1.0" % "compile-internal" ```...
In case anyone is interested, I published a new plugin called sbt-native-image (https://github.com/scalameta/sbt-native-image) that automatically adds the correct svm-subs dependency and provides other nice features like automatic GraalVM installation
Thank you for this contribution! Can you please update the description to explain the motivation for this change, something like > Before, mdoc ... > Now, mdoc ...
I haven't forgotten about this PR. There are a few organizational changes that I'd like to make to the codebase before merging this PR so it may take a while...
Thank you for reporting! The Scala.js support is implemented with an entirely separate compile/evaluate pipeline making it difficult to support JS/JVM with a unified API. A JS `PostModifier` would need...
> Or is it possible to wrap the code with other code before execution in the browser? That would also be an option for me. Is it an option to...
Have you considered writing an invisible helper method called “div” that implements your desired functionality?
One thing we could do is to make the node variable available through a global var or an implicit. Then you could update innerHTML. Do you think that would resolve...
Sounds good. I opened #539 to add a new `implicit val nodeImplicit: HTMLElementImplicit` in scope for every code fence that you can pass around to invisible helper methods.
Thank you for reporting! What happens if you wrap the code fence in `mdoc:reset-object`?