Markdown
Last updated
Last updated
The Markdown Web Control evaluates Markdown expressions and displays the result.
Expects type text
.
The text entered here will be evaluated as a Markdown expression and displayed on the Web Page. To learn more about how to format texts using Markdown syntax, please refer to the Markdown Syntax Guide.
🚧 Some Extended Markdown Syntax Not Supported Some of the extended syntax of Markdown may not work or work differently in the Airkit Web Control. Elements such as tables, alignment, fenced code blocks, footnotes, among other extended syntax elements are not supported.
Expects type boolean
.
If TRUE
the control will be visible. If FALSE
the control will not be displayed. If the field is empty, the control will be visible.
Expects type boolean
.
If TRUE
the control will be disabled and the user will not be able to interact with it. If FALSE
the control will be enabled. If the field is empty, the control will be enabled.
Like most controls, the default Variant of the Markdown Control is defined in terms of theme variables. The font, for instance, is defined by brandPrimaryFont
, and the color of hyperlinks is determined by brandPrimary
. For more one what these values are and how they are defined, see Themes and Control Variants.
To change the styling properties of the elements rendered by Markdown syntax, expand the Markdown Web Control in the Tree, and select the relevant element type. This will open the standard styling properties of the element in the Inspector.
Check out Web Control Styling Properties for further details on how to style individual elements of your Markdown Web Control.
Airscript expressions can be used within the Markdown Control as long as they are contained in double curly brackets. For example, to display the current date and time via the Airscript functions NOW and FORMAT_DATETIME, you would enter the following expression into the Text field of the Markdown Web Control:
We can also take advantage of the formatting capabilities of Markdown to highlight parts of a text within a string: