This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path00001007030500.zettel
47 lines (41 loc) · 1.6 KB
/
00001007030500.zettel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
title: Zettelmarkup: Verbatim Blocks
tags: #manual #zettelmarkup #zettelstore
syntax: zmk
role: manual
Verbatim blocks are used to enter text that should not be interpreted.
They start with at least three grave accent characters (""''`''"", ''U+0060'') at the first position of a line.
Alternatively, a modifier letter grave accent (""''ˋ''"", ''U+02CB'') is also allowed[^On some devices, such as an iPhone / iPad, a grave accent character is harder to enter and is often confused with a modifier letter grave accent.].
You can add some [[attributes|00001007050000]] on the start line of a verbatim block, following the initiating characters.
The verbatim block supports the default attribute: when given, all spaces in the text are rendered in HTML as open box characters (""''␣''"", ''U+2423'').
If you want to give only one attribute and this attribute is the generic attribute, you can omit the most of the attribute syntax and just specify the value.
It will be interpreted as a (programming) language to support colourizing the text when rendered in HTML.
Any other character in this line will be ignored
Text following the starting line will not be interpreted, until a line starts with at least the same number of the same characters given at the starting line.
This allows to enter some grave accent characters in the text that should not be interpreted.
For example:
`````zmk
````zmk
```
````
`````
will be rendered in HTML as:
:::example
````zmk
```
````
:::
`````zmk
```{-}
This is some
text with no
real sense.
````
`````
will be rendered as:
:::example
```{-}
This is some
text with no
real sense.
````
:::