{indent} macro
Hey guys,
My colleague Graham Mueller has been working with you guys to get our documentation looking real nice. Great work!! My question for you is that we use the {indent} macro a lot thought out our documentation and when we go to create a pdf any text that is within this macro is put into a table with a border and a background color. Do you guys have any suggestions as to how we could change this? I have attached an image of what is happening.
Keelan
indentmacro.jpg
-
Hi Keelan,
are you referring to the indent user macro as defined here: http://confluence.atlassian.com/display/DISC/Indent+User+Macro ? There are two versions of this macro on that page: The first one creates a table, which is also rendered in the PDF, the second one indents using a div element - which would not be included in the PDF file.
Currently there is no way to recognize this table when providing your style with custom CSS, i.e. you could only remove the table lines for all tables (what you probably don't want to do).
Another option would be to replace the user macro with the second version (found in the comments of the aforementioned page). This one renders a div - which would not be present in the PDF. Unfortunately this also means your content would not be indented.
By end of October we will release a version of the PDF exporter that allows to keep CSS classes created by Confluence which would enable you to use the table-style indent macro with CSS matching only such "indentation tables".
You can track the respective ticket here: http://k15t.jira.com/browse/PDF-240Best regards,
Jens
Please sign in to leave a comment.
Comments
1 comment