support common snippet props when using include-groovy plugin
@@ -44,6 +44,7 @@ class GroovyIncludePlugin implements IncludePlugin {
Map<String, Object> props = CodeSnippetsProps.create(componentsRegistry.codeTokenizer(), "groovy",
extractContent(groovyCode, entry, bodyOnly))
+ props.putAll(pluginParams.getOpts().toMap())
return PluginResult.docElement(DocElementType.SNIPPET, props)
}
