added hard line breaks support

This commit is contained in:
2026-02-08 18:09:54 -05:00
parent 164cb5d980
commit 00d44090a8
8 changed files with 85 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ Root directory manifest (`.wp-materialize.json`):
"tags": { "content": ["automation", "wordpress"], "inherit": true },
"author": { "content": ["editorial"], "inherit": true },
"renderer": "pandoc",
"hard_line_breaks": true,
"subdirectories": { "content": ["design", "notes"], "inherit": true },
"files": {
"post.md": {
@@ -22,6 +23,7 @@ Root directory manifest (`.wp-materialize.json`):
"essay.md": {
"use_heading_as_title": { "level": 1, "strict": true },
"renderer": "py-gfm",
"hard_line_breaks": false,
"created_on": "2025-01-10 09:30",
"last_modified": "2025-02-14 16:45"
}
@@ -51,6 +53,7 @@ Subdirectory manifest (`design/.wp-materialize.json`):
"wordpress_root": "/var/www/wordpress",
"repo_storage_dir": "/home/user/wp-materialize-repos",
"renderer": "default",
"hard_line_breaks": false,
"git_repositories": [],
"directories": [
{
@@ -69,6 +72,7 @@ Subdirectory manifest (`design/.wp-materialize.json`):
"wordpress_root": "/var/www/wordpress",
"repo_storage_dir": "/home/user/wp-materialize-repos",
"renderer": "default",
"hard_line_breaks": false,
"git_repositories": [
{
"name": "content-repo",
@@ -100,6 +104,7 @@ Subdirectory manifest (`design/.wp-materialize.json`):
"wordpress_root": "/var/www/wordpress",
"repo_storage_dir": "/home/user/wp-materialize-repos",
"renderer": "default",
"hard_line_breaks": false,
"git_repositories": [
{
"name": "content-repo",