KobwebCallExtension
An extension point for adding ${inlinecall} and {{{ blockcall }}} support for typing in raw code snippets into Markdown.
When these items are encountered, they will instruct Markdown to insert the code directly into the final Kotlin file.
For example, Hello ${Fancy("World")}, welcome to Kobweb!
will render
P {
Text("Hello ")
Fancy("World")
Text(", welcome to Kobweb!")
}
Content copied to clipboard
The block syntax can be used to wrap markdown with code, as in
{{{ .components.widgets.Warning
Using this method before state is initialized can lead to an `InvalidStateException`.
}}}
Content copied to clipboard