in Confluence I have created some user macros for formatting. They are enclosed by divs with a class name. Now the HTML-Exporter of course doesn't know these user macros. So I can't modify the stylesheets for them in the exported html.
It seems, that I just have to add a line in the atlassian-plugin-xml in our own template like
<resource type="template-part" name="[USER MACRO NAME]" location="com/k15t/scroll/scroll-webhelp-theme/scroll-html/admonition.vm"/>
But that doesn't work. I also tried it with the class name. I also tried to give the div in the user macro the additional class name "confluence-information-macro".
It only works, when I include a macro like "note" oder "info" into the user macro the HTML-Exporter recognises it and processes it using the admonition-vm. But I want to be independent from the confluence-information-macros.
How can I address the user macro in the atlassian-plugin-xml and use one of the given vm files or create own vm-files? Do I have to create classes for user macros? How can I integrate them in the HTML Exporter?
Please sign in to leave a comment.