ascii2doc --theme examples/report/report-theme.yml examples/report/report.adoc open examples/report/report.docx
Business Report
What it demonstrates: A professional business report converted to DOCX with a custom theme controlling fonts, colors, headers, footers, and page numbering.
Who it’s for: Users who need to produce polished Word documents for work — reports, memos, proposals.
Run It
Source Files
-
examples/report/report.adoc— the report content -
examples/report/report-theme.yml— the theme file
Theme Highlights
The theme uses corporate blue headings, styled table headers, and a confidential footer:
size: A4
layout: portrait
margin: [25mm, 20mm, 25mm, 20mm]
base:
font_family: Aptos
font_color: "2D2D2D"
font_size: 11
line_height: 1.15
heading:
font_family: Aptos
font_color: "1B3A5C"
font_style: bold
margin_top: 14
margin_bottom: 6
h1:
font_size: 18
h2:
font_size: 14
h3:
font_size: 12
title_page:
title:
font_size: 22
font_style: bold