You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

projectdoc Toolbox

Renders a code block from an attached file with placeholders replaced by properties.

ID
projectdoc-attachment-code-block-placeholder-macro
Suite
Since
3.1

Parameters

Attachment Page

Specify the page where the file to render is attached.

If the value is empty, the current page is the default value.

Attachment

Select the name of the attached file to show.

Document

The document to fetch property values for the placeholders. If not specified, the current document is used.

Apply Space Properties

If checked the properties defined by the space of the document this macro is part of are applied as defaults.

Code Language

This value is passed to the Code Block Macro.

The value "Default Language" refers to the value provided by the space property "Code Language".

Code Title

This value is passed to the Code Block Macro.

Code Theme

This value is passed to the Code Block Macro.

Code Line Numbers

This value is passed to the Code Block Macro.

Code First Line

This value is passed to the Code Block Macro.

Code Collapse

This value is passed to the Code Block Macro.

  • No labels