Here's the embed-code tags I tried to use:
<embed-code
file="$context/src/main/kotlin/io/spine/tools/validation/ValidationPlugin.kt"
start="public abstract class ValidationPlugin"
end="^\)">
</embed-code>
Here's the code (with trimmed down internals):
public abstract class ValidationPlugin(
renderers: List<Renderer<*>> = emptyList(),
views: Set<Class<out View<*, *, *>>> = setOf(),
viewRepositories: Set<ViewRepository<*, *, *>> = setOf(),
reactions: Set<Reaction<*>> = setOf(),
) : Plugin(
// More code goes here
)
The embedding I get is this:
```kotlin
public abstract class ValidationPlugin(
renderers: List<Renderer<*>> = emptyList(),
views: Set<Class<out View<*, *, *>>> = setOf(),
viewRepositories: Set<ViewRepository<*, *, *>> = setOf(),
reactions: Set<Reaction<*>> = setOf(),
) : Plugin(
Somehow it does something strange around the closing parenthesis. When I add trailing comment // Plugin everything works.
Here's the PR with the mentioned embeddings.
Please investigate and fix.
Here's the
embed-codetags I tried to use:Here's the code (with trimmed down internals):
The embedding I get is this:
Somehow it does something strange around the closing parenthesis. When I add trailing comment
// Plugineverything works.Here's the PR with the mentioned embeddings.
Please investigate and fix.