audit_report: allow tables to split; keep h4 with content
Some checks failed
ci / ci (push) Has been cancelled
Some checks failed
ci / ci (push) Has been cancelled
This commit is contained in:
parent
01d082b038
commit
83d783f365
2 changed files with 6 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
profile_id: "audit_report"
|
||||
description: "Evidence-heavy audit reports: 12pt baseline, branded tables, and tolerant QA thresholds for long sources/citations."
|
||||
description: "Evidence-heavy audit reports: screen-readable baseline type, branded tables, and tolerant QA thresholds for long sources/citations."
|
||||
|
||||
page:
|
||||
size: "A4"
|
||||
|
|
@ -15,8 +15,8 @@ fonts:
|
|||
require_primary: true
|
||||
body:
|
||||
family: ["Noto Serif", "STIX Two Text", "serif"]
|
||||
size: "12pt"
|
||||
line_height: 1.50
|
||||
size: "14pt"
|
||||
line_height: 1.55
|
||||
heading:
|
||||
family: ["Noto Sans", "Source Sans 3", "sans-serif"]
|
||||
mono:
|
||||
|
|
@ -78,7 +78,7 @@ tables:
|
|||
shrink_limit: 0.90
|
||||
layout: "auto"
|
||||
cell_wrap: true
|
||||
keep_together: true
|
||||
keep_together: false
|
||||
row_keep_together: true
|
||||
grid_style: "rules_minimal"
|
||||
header_align: "left"
|
||||
|
|
@ -106,7 +106,7 @@ running_head:
|
|||
enabled: true
|
||||
placement: "footer"
|
||||
template: "{page} | {title}"
|
||||
font_size: "9pt"
|
||||
font_size: "10pt"
|
||||
font_style: "normal"
|
||||
color: "#6b7280"
|
||||
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ def _render_doc(
|
|||
heading_html = (
|
||||
f"<h{level} id=\"{slug}\">{_render_inline(block.text, base_path, self_contained, warnings, inline_opts)}</h{level}>"
|
||||
)
|
||||
if keep_headings and level <= 3:
|
||||
if keep_headings and level <= 4:
|
||||
keep_indices = _keep_with_next_indices(blocks, i)
|
||||
if keep_indices:
|
||||
body_lines.append("<div class=\"if-keep-with-next\">")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue