Abstract
This demo proves that the MarkCharm compiler acts as a strict superset of CommonMark.
It demonstrates how native compiler features (includes, numbering, references) can
be used to orchestrate pure .md files without MarkCharm syntax into a cohesive document.
This document was constructed by joining two pure .md files via the {$INCLUDE} macro. Cross-references and automatic numbering flow naturally between included files.
Contemporary data analysis requires technical documents to seamlessly merge long-form text with exact cross-references. As established at the beginning of the document, the compiler automatically tracks anchors.
In the next chapter, we will look at the Table, which was declared entirely using classic Markdown syntax.
This introduction was written entirely in standard Markdown.
Below is a standard Markdown table. MarkCharm will process it natively, injecting IDs and anchoring captions if the appropriate block is used or inferred.
| Year | Metric A | Metric B | Variation (%) |
|---|---|---|---|
| 2024 | 1,500 | 200 | 5% |
| 2025 | 1,850 | 250 | 25% |
| 2026 | 2,100 | 310 | 24% |
And as we can see, the growth over the three-year period was sustained.
Action item list:
markcharm main.mc -f htmlHere is the source code of the files that composed this document.
main.mc
\language{en}
\title{Demonstration: Markdown Baseline and Multidoc}
\maketitle
```abstract
This demo proves that the MarkCharm compiler acts as a strict superset of CommonMark.
It demonstrates how native compiler features (includes, numbering, references) can
be used to orchestrate pure `.md` files without MarkCharm syntax into a cohesive document.
```
# Report Architecture
This document was constructed by joining two pure `.md` files via the `{$INCLUDE}` macro.
Cross-references and automatic numbering flow naturally between included files.
{$INCLUDE section_intro.md}
{$INCLUDE section_data.md}
section_intro.md
## Introduction to the Problem
Contemporary data analysis requires technical documents to seamlessly merge long-form text with exact cross-references. As established at the beginning of the document, the compiler automatically tracks anchors.
In the next chapter, we will look at the Table, which was declared entirely using classic Markdown syntax.
*This introduction was written entirely in standard Markdown.*
section_data.md
## Compilation and Consolidated Data
Below is a standard Markdown table. MarkCharm will process it natively, injecting IDs and anchoring captions if the appropriate block is used or inferred.
| Year | Metric A | Metric B | Variation (%) |
|------|----------|----------|---------------|
| 2024 | 1,500 | 200 | 5% |
| 2025 | 1,850 | 250 | 25% |
| 2026 | 2,100 | 310 | 24% |
And as we can see, the growth over the three-year period was sustained.
**Action item list:**
- Review 2026 numbers
- Prepare final report
- Export via `markcharm main.mc -f html`
Usage Requirements & Caveats:
.md files do not need \language or \maketitle, as they inherit main context.{#SET ...}) are visible inside included .md files.