added hard line breaks support
This commit is contained in:
@@ -12,9 +12,11 @@ Top-level fields:
|
||||
Directory where git repositories are cloned or updated.
|
||||
3. `renderer` (string, optional)
|
||||
Markdown renderer to use. Allowed values: `default`, `py-gfm`, `pandoc`.
|
||||
4. `git_repositories` (array, optional)
|
||||
4. `hard_line_breaks` (boolean, optional)
|
||||
If `true`, treat single newlines as hard line breaks.
|
||||
5. `git_repositories` (array, optional)
|
||||
List of git repositories to manage. Default is an empty list.
|
||||
5. `directories` (array, optional)
|
||||
6. `directories` (array, optional)
|
||||
List of non-git directories to manage. Default is an empty list.
|
||||
|
||||
`git_repositories` entries:
|
||||
@@ -55,9 +57,12 @@ Top-level fields:
|
||||
4. `renderer` (string, optional)
|
||||
Markdown renderer to use for this directory. Allowed values: `default`, `py-gfm`, `pandoc`.
|
||||
If omitted, it inherits from the parent scope.
|
||||
5. `subdirectories` (object, optional)
|
||||
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)
|
||||
Explicit list of subdirectories to traverse.
|
||||
6. `files` (object, optional)
|
||||
7. `files` (object, optional)
|
||||
Mapping of Markdown file names to file-level configuration.
|
||||
|
||||
`categories`, `tags`, `author`, and `subdirectories` objects:
|
||||
@@ -79,6 +84,9 @@ inheritance via their own `inherit` fields.
|
||||
The `renderer` field inherits implicitly: if omitted, the renderer is inherited
|
||||
from the parent scope; if specified, it overrides the parent without an explicit
|
||||
`inherit` flag.
|
||||
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.
|
||||
|
||||
Renderer dependencies:
|
||||
1. `default` uses the Python `Markdown` library.
|
||||
@@ -102,10 +110,13 @@ Each value is an object with the following fields:
|
||||
5. `renderer` (string, optional)
|
||||
Markdown renderer to use for this file. Allowed values: `default`, `py-gfm`, `pandoc`.
|
||||
If omitted, it inherits from the parent scope.
|
||||
6. `categories` (object, optional)
|
||||
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)
|
||||
Overrides categories for this file. Uses the same `content` and `inherit` fields
|
||||
as the top-level `categories` object.
|
||||
7. `tags` (object, optional)
|
||||
8. `tags` (object, optional)
|
||||
Overrides tags for this file. Uses the same `content` and `inherit` fields
|
||||
as the top-level `tags` object.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user