feat: Support anchor macro

This commit is contained in:
Manuel Rüger
2023-04-03 13:05:35 +02:00
parent a29feb1e96
commit 9bb9f45326
2 changed files with 11 additions and 0 deletions

View File

@@ -384,6 +384,9 @@ By default, mark provides several built-in templates and macros:
- OutputType: Determines whether the content of the Excerpt macro body is displayed on a new line or inline (optional, options: "BLOCK" or "INLINE", default: BLOCK)
- Hidden: Hide the excerpt content (optional, default: false)
* template: `ac:anchor` to set an anchor inside a page
- Anchor: Text for the anchor
* macro `@{...}` to mention user by name specified in the braces.
## Template & Macros Usecases