Condition
Can use the "if" command for conditional judgment.
define conditional variables
Define conditional variables in the JSON file, which should be of type bool.
main.json
use conditional judgment
To use conditional judgment in a markdown file, it needs to start with the "if -" or "if n -" directive and start with "<--- {end}--->"End.
Note: The "ifn -" instruction will logically invert the corresponding variable.
main.md
compiler results
dist/build.md
Last updated