1. Blocks 🔗

NML supports different kind of blocks. The syntax goes like this:

1
>[!Warning]
2
>Text...
3
> * A list
4
>> [!Quote][author=me]
5
>>Something I said..

Which looks something like this:

Text...
  • A list

Something I said..

me

The default blocks types are:

  1. Quote (see Quotes for properties)
  2. Warning
  3. Note
  4. Todo
  5. Tip
  6. Caution

Blocks can be comprised of any paragraph element (e.g style, links) as wall as other blocks and lists.

2. Nesting blocks 🔗

You can nest blocks as much as you like

Here's a quote inside the tip.

Some information...

Back to the quote

Another block
Given by the following
1
>[!Tip]
2
> You can nest blocks as much as you like
3
>>[!Quote]
4
>> Here's a quote inside the tip.
5
>>>[!Note]
6
>>>Some information...
7
>> Back to the quote
8
>
9
>>[!Caution]
10
>>Another block

3. Quotes 🔗

Quotes support properties and have a style under style key style.block.quote.

Properties:

Style:

Default Style
1
{
2
	"author_pos": "After",
3
	"format": ["{author}, {cite}", "{author}", "{cite}"],
4
}