Variables

Back to Remark syntax

Variables can be used to store text temporarily and this way parametrize the behavior of macros and Remark. However, at the same time variables have a dual role as user-defined text transformations.

Predefined variables

The following variables are predefined in Remark:

parameter
The parameter of a macro invocation.
indent
The name of the macro to use for indented content. Default: Verbatim.
remark_version
The version of Remark used to produce the documentation. Default: 1.7.6

Learn more