Version directives
Added in version 0.0.5
You can mark some content as applying to a specific version using the added-in-version
attribute on an empty div. If you specified a projectInfo.version
in your configuration, and the specified version is greater, then the message will be future-tense.
{added-in-version="0.0.1"}
:::
:::
{added-in-version="10.0"}
:::
:::
Output:
Added in version 0.0.1
Will be added in version 10.0
You can also put content inside if you want to add commentary.
{added-in-version="10.0"}
:::
We're really excited about this feature!
:::
Output:
Will be added in version 10.0
We’re really excited about this feature!
Other options
You can also use changed-in-version
, removed-in-version
, and deprecated-in-version
.