substitutions property

Map<String, String>? substitutions
final

Optional text substitutions applied to the markdown before parsing.

Each key K replaces all occurrences of {{K}} in the raw markdown with the corresponding value. For example:

substitutions: {'VERSION': '1.2.3'}

will replace {{VERSION}}1.2.3 in the loaded asset.

Implementation

final Map<String, String>? substitutions;