added block html option

This commit is contained in:
2026-02-08 18:23:02 -05:00
parent 00d44090a8
commit 4ad90fee4c
8 changed files with 81 additions and 11 deletions

View File

@@ -14,9 +14,12 @@ Top-level fields:
Markdown renderer to use. Allowed values: `default`, `py-gfm`, `pandoc`.
4. `hard_line_breaks` (boolean, optional)
If `true`, treat single newlines as hard line breaks.
5. `git_repositories` (array, optional)
5. `block_html` (boolean, optional)
If `true`, wrap HTML in a single Gutenberg HTML block to preserve formatting
in the visual editor.
6. `git_repositories` (array, optional)
List of git repositories to manage. Default is an empty list.
6. `directories` (array, optional)
7. `directories` (array, optional)
List of non-git directories to manage. Default is an empty list.
`git_repositories` entries:
@@ -60,9 +63,12 @@ Top-level fields:
5. `hard_line_breaks` (boolean, optional)
If `true`, treat single newlines as hard line breaks. If omitted, it inherits
from the parent scope.
6. `subdirectories` (object, optional)
6. `block_html` (boolean, optional)
If `true`, wrap HTML in a single Gutenberg HTML block to preserve formatting.
If omitted, it inherits from the parent scope.
7. `subdirectories` (object, optional)
Explicit list of subdirectories to traverse.
7. `files` (object, optional)
8. `files` (object, optional)
Mapping of Markdown file names to file-level configuration.
`categories`, `tags`, `author`, and `subdirectories` objects:
@@ -87,6 +93,9 @@ from the parent scope; if specified, it overrides the parent without an explicit
The `hard_line_breaks` field inherits implicitly: if omitted, the value is inherited
from the parent scope; if specified, it overrides the parent without an explicit
`inherit` flag.
The `block_html` field inherits implicitly: if omitted, the value is inherited
from the parent scope; if specified, it overrides the parent without an explicit
`inherit` flag.
Renderer dependencies:
1. `default` uses the Python `Markdown` library.
@@ -113,10 +122,13 @@ Each value is an object with the following fields:
6. `hard_line_breaks` (boolean, optional)
If `true`, treat single newlines as hard line breaks. If omitted, it inherits
from the parent scope.
7. `categories` (object, optional)
7. `block_html` (boolean, optional)
If `true`, wrap HTML in a single Gutenberg HTML block to preserve formatting.
If omitted, it inherits from the parent scope.
8. `categories` (object, optional)
Overrides categories for this file. Uses the same `content` and `inherit` fields
as the top-level `categories` object.
8. `tags` (object, optional)
9. `tags` (object, optional)
Overrides tags for this file. Uses the same `content` and `inherit` fields
as the top-level `tags` object.