Vincent Massol wrote:
Hi,
Right now we support code macro in both inline and standalone modes.
However the style isn't nice if the macro is inline and on several
lines.
For ex:
This is {{code language="java"}}
public class LoggingEventListener implements EventListener
{
}
{{/code}} inline
I'm proposing to test in the code macro if there are NL in the macro
content and if so and if the macro is inline then generate an error
explaining that the macro but not be inline to use multi line content.
WDYT?
+1, if we do allow to put code blocks inside a group.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/