- 3 minutes to read

Macros Reference

New 7.11

Every macro available in Nodinite Articles, in one place — what each one resolves to, and when it's available.

  • ✅ Look up any macro by category instead of hunting through the editor
  • ✅ Know exactly when a macro is available and when it isn't
  • ✅ Understand which macros require Resource or C4 node context
  • ✅ Use the same macros inside a Snippet as inside an Article

How Macros Resolve

A macro is a {{ name }} placeholder that resolves every time the document is displayed. This page lists every supported macro and where it resolves.

Core Facts

  • Naming — macro names are case-insensitive
  • Unknown macro — left as written, unresolved
  • Full list — also available from the editor's Macro Help dialog
  • Also resolve inside — Snippets, so a shared header or footer can show the current Article's own title, date, and so on

Macro Help dialog listing every available macro by category (7.11)
Example of the editor's Macro Help dialog.

Date and Time Macros

Macro Resolves to Available when
year The current year Always
today The current date Always
now The current date and time Always
year.utc, today.utc, now.utc The UTC equivalent of the macro above Always

Article Macros

Macro Resolves to Available when
article.title The Article's title Always
article.description The Article's description Always
article.id The Article's id Always
article.url The Article's URL Always
article.tags The Article's tags Always
article.created, article.created.utc When the Article was created Always
article.updated, article.updated.utc When the Article was last updated Always

Environment Macros

Macro Resolves to Available when
customername The value of the CustomerName system parameter Always
environmentname The current environment's name Always
product.version The running Nodinite version Always
currentuser.name The signed-in user's name Always

Resource Macros

Macro Resolves to Available when
resource.name, resource.type, resource.environment, resource.category, resource.application, resource.description The Resource's own field values Shown for a Monitoring Resource
resource.created, resource.created.utc, resource.updated, resource.updated.utc When the Resource was created or last updated Shown for a Monitoring Resource
resource.agentname, resource.logtext, resource.state The Resource's monitoring agent, latest log text, and current state Shown for a Monitoring Resource

C4 Diagram Node Macros

Macro Resolves to Available when
node.name, node.type, node.technology The bound node's own field values Shown for a C4 diagram node
node.componenttype The node's Component Type name Shown for a C4 diagram node
node.icon The Component Type's icon — Font Awesome, Azure, custom upload, or Mermaid Shown for a C4 diagram node

Warning

node.componenttype and node.icon only resolve on a C4 diagram node. They are not available on Systems, Integrations, or any other entity.

Next Step