|
Hi,
what I'd like to create for myself are custom tags for rendering code snippet, which will also compile&run it and provide result. Can you provide any hint or reference of required reading? I wasn't able to find one.
scala example:
[execute,scala]
for (index <- 1 to 4) println
expected result is properly formatted scala code, just like I'd use [source,scala] followed by block as:
.will yield
[source]
----
1
2
3
4
----
Thanks!
|