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

Compare with Current View Page History

Version 1 Next »

projectdoc Toolbox

Passes a text containing placeholders to the Code Block Macro. The placeholders are replaced by the properties of a document and/or the space properties.

Categories
Tags

Description

The Code Block Placeholder Macro passes its content to the Code Block Macro, after placeholders have been replaced with values from the referenced document's properties and/or space properties.

The placeholders in of form ${property name}.

The example above shows how placeholder reference properties from the current document (Props) and space properties. The content is then formatted by the Code Block Macro.

Properties

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