Support nested Markdown heading levels
This commit is contained in:
@@ -45,6 +45,7 @@ Options:
|
||||
|
||||
- `options["gfm"]` defaults to `true` and turns on GitHub-style extras such as tables, task lists, autolinks, and strikethrough.
|
||||
- `options["allow_html"]` defaults to `false`. When true, raw HTML blocks and inline tags may pass through as `raw_html` nodes instead of being escaped as plain text.
|
||||
- `options["heading_offset"]` shifts rendered heading levels while leaving AST `level` values unchanged. The default is `0`; final levels clamp to `h1` through `h6`. Use `1` when Markdown is nested below a component-owned page title.
|
||||
- `options["components"]` declares renderer extension points using normal UCE components.
|
||||
|
||||
Directive hook example:
|
||||
|
||||
Reference in New Issue
Block a user