Djot is an open source text markup language created in 2022 by John MacFarlane.
#352on PLDB | 3Years Old |
git clone https://github.com/jgm/djot
A light markup language
_italic_
*bold*
`code`
H~2~O
20^th^
{=highlighted=}
{+underlined+}
{-strikethrough-}
$`p = mv`
$$`E = K + U`
Start a new paragraph with a blank line.
> A blockquote
{% look like this
and can span multiple lines %}
# Horizontal lines:
***
---
Verbatim blocks:
```
$ tree
.
├── aa
│ └── foo.txt
├── bb
│ └── bar.txt
└── c.png
```
```myLang
func say-hello(nm) {
print("hello ${nm}!");
}
```
Links:
<https://example.com>
[read more](https://example.com)
[read this too][foo bar]
[one more link][]

![coastal shores][shore]
![lush forests][]
[shore]: the-beach.jpg
[lush forests]: pines.jpg
# Tables
| Name | Size | Color |
| --- | --- | --- |
| lime | small | green |
| orange | medium | orange |
| grapefruit | large | yellow or pink |