Direct Compilation of Pure Markdown

This document demonstrates MarkCharm's ability to ingest and compile a purely CommonMark (.md) file, applying its typographic engine at runtime without requiring the .mc language's proprietary syntax.

1. Typography and Emphasis

The text supports markup such as bold, italic, bold and italic, strikethrough, and inline code. MarkCharm also applies smart typography, converting straight quotes to curly ones “like this” and replacing double hyphens with em dashes – as expected in professional publications.

2. Lists and Hierarchy

Unordered List:

Ordered List:

  1. 1. Gather requirements
  2. 2. Write code
    1. 1. Front-end
    2. 2. Back-end
  3. 3. Run tests
  4. 4. Publish

3. Blockquotes

Simplicity is the ultimate sophistication.

— Attributed to Leonardo da Vinci

4. Native Tables

Feature Markdown Support MarkCharm Support
Lists Yes Yes
Tables Yes Yes
Cross-References No Yes
Advanced Typography No Yes

5. Fenced Code Blocks

An example of a Python code block using triple backticks:

def hello_world():
    print("MarkCharm compiles pure Markdown!")

hello_world()

6. Links and Images

Access MarkCharm documentation


Summary: MarkCharm behaves perfectly as a generic Markdown (.md) compiler and parser, inheriting the resilience and structure of classic syntax while setting the stage to be supercharged by its own macros if the author decides to scale the document's complexity in the future.