Introduction to Markdown

Jennifer

Plain text that reads well as it is and renders into books, slides and web pages: the Markdown that Grimoire and cantrip understand.

by @mplx

1 / 14

Text that reads as it is

# A heading

## A smaller heading

A paragraph is lines of text. A blank line
starts the next one.
2 / 14

Emphasis and inline code

**bold**, *italic*, `code`, ~~struck~~, ==marked==, H~2~O, x^2^

bold, italic, code, struck, marked, H2O, x2

3 / 14

Lists

- milk
- bread
  - white
  - rye

1. preheat the oven
2. mix the dough
4 / 14

Task lists and definition lists

- [x] written
- [ ] reviewed

deck
: a directory of Jennifer modules with a deck.toml
5 / 14

Links and images

[the manual](https://docs.jennifer-lang.dev/)
<https://jennifer-lang.dev/>
![The Jennifer logo](jennifer-logo.png)
6 / 14

Code blocks

```jennifer
use io;

io.printf("Hello, world!\n");
```
7 / 14

Tables

| Tool     | Builds       | Output    |
| :------- | :----------: | --------: |
| Grimoire | books        | HTML, PDF |
| cantrip  | slide decks  | HTML, PDF |
ToolBuildsOutput
GrimoirebooksHTML, PDF
cantripslide decksHTML, PDF
8 / 14

Quotes and callouts

> A quotation, marked like a reply in an email.

> [!TIP]
> Run `jennifer fmt -w` before you commit.

Tip

Run jennifer fmt -w before you commit.

9 / 14

Anchors, classes and keys

## Installing {#install}

[Download the PDF](book.pdf){.gr-button}

Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to stop.

Press Ctrl + C to stop.

10 / 14

What is not supported

11 / 14

Grimoire: a book from a folder

# Summary

[Introduction](index.md)

# Using Grimoire

- [Installation](installation.md)
- [Commands](commands.md)
12 / 14

cantrip: slides from one file

---
theme: nordic
mode: dark
---

# The title slide

<!-- notes: what to say here -->

---

## The next slide
13 / 14

Where to go next

Based on Jennifer 0.26.0, November 2026.

14 / 14