Skip to content

Pipeline

Giorgio Garofalo edited this page Sep 1, 2025 · 13 revisions

This section aims to be a simplification of what is explained in the author's Bachelor's thesis: Quarkdown - Typesetting versatile di documenti articolati (Italian), in which Quarkdown's architecture is thoroughly explained and documented. The thesis is updated to September 2024, while this section is going to be kept up-to-date.

When an input file is supplied to Quarkdown, it undergoes a process of elaboration to be transformed into an output resource, such as an HTML document that the browser can display. Under the hood, this process is represented by a sequential pipeline, in which the output of one stage becomes the input of the next one.

  1. Lexing
  2. Parsing
  3. Function call expansion
  4. Tree traversal
  5. Rendering
  6. Post-rendering

Documentation

CLI tools

Markdown enhancements

Functions

Setting up

Multi-file projects

Layout

Charts & diagrams

Scripting & control flow

Utilities

Slides

I/O

Native content

Value types

Built-in libraries

  • Paper: abstract, definitions, theorems, and more

Extra features

Inside Quarkdown

Clone this wiki locally