-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.pnote
40 lines (28 loc) · 842 Bytes
/
example.pnote
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
~ A header using tildes ~
This is regular text and "This is a quote."
This is an `identifier` using backticks.
~ Comments ~
[square bracket `comment`]
{ Curly brace `comment` blocks:
Comments can span over multiple lines
with folding }
// line `comment`
~ Keywords ~
#yellow | @TODO | ^temp | ^staging
#green | @COMPLETED | @RESOLVED | @DONE
#blue | @QUESTION | @UPDATE | @EXAMPLE | ^dev
#orange | @IMPORTANT | @EXCEPTION | ^production
#red | @WARNING | @DANGER | @ERROR | ^NoUndo
#pink | @NOTE | *star prefixed
#purple | @FUTURE | @TOLEARN
{ A note about *keywords in comments:
Comments also support *keywords
like @IMPORTANT and ^dev }
~ Code blocks ~
<code>
function Hello(name) {
return "Hello, " + name + "."
}
// @EXAMPLE returns "Hello, John Doe."
Hello("John Doe");
</code>