Is it possible to export the output of a user macro (HTML/PDF)?

Comments

3 comments

  • Avatar
    Roman Serazhiev

    Hi Maja,

    Which version of the apps are you using? It should be possible with Scroll PDF Exporter 4. If you could send me the code of your user macro I can check if it works in PDF and HTML Exporter.

    Cheers,
    Roman.

    0
    Comment actions Permalink
  • Avatar
    Maja Jaakson (Edited )

    Hi Roman,

    thanks for the quick reply! I took a little while to reply because our Confluence test service was being updated (to 6.4).

    Here is the code for my macro:

    ## Macro title: Custom Documentation styles TEST
    ## Macro has a body: Y
    ## Body processing: rendered
    ## Developed by: Maja Jaakson
    ## Date created: 30/09/2017
    ## Installed by: Maja Jaakson

    ## Applies either no class or the procedure class to a span element

    ## @param Class:title=Style class|type=enum|enumValues=none,procedure|default=none|desc=Pick a style

    <style>
    .procedure {
        font-weight: bold;
        display: block;
        font-size: 16px;
        line/height: 1.5;
        margin: 30px 0 0 0;
    }
    </style>

    <span class="$paramClass">$body</span>
    0
    Comment actions Permalink
  • Avatar
    Roman Serazhiev

    Hi Maja,

    Thanks for sharing the macro code. I was using PDF Exporter 4.0.8 and the class came through the export without problems. Which version of the app are you using?

    Cheers,
    Roman.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk