/
main.v
72 lines (62 loc) · 1.34 KB
/
main.v
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// normal comment
pub fn a1() {
println('hi')
}
// this should be merged
// into the same line
pub fn a2() {
println('hi')
}
// This should be its own paragraph.
//
// This should be another paragraph.
pub fn a3() {
println('hi')
}
// This should be merged
// into one paragraph.
// Note: this should be it's own paragraph.
pub fn a4() {
println('hi')
}
// This should be its own paragraph.
// NOTE: this should also be it own paragraph
// note: this should be it's own paragraph.
pub fn a5() {
println('hi')
}
// A comment
// Fixme: this should be it's own paragraph.
// fixme: this should be it's own paragraph.
// FIXME: this should be it's own paragraph.
pub fn a6() {
println('hi')
}
// A comment
// TODO: this should be it's own paragraph.
// todo: this should be it's own paragraph.
// Todo: this should be it's own paragraph.
pub fn a7() {
println('hi')
}
// A comment
// TODO: this should be it's own paragraph.
// NOTE: this should be it's own paragraph.
// FIXME: this should be it's own paragraph.
pub fn a8() {
println('hi')
}
// Some info that should not be added as doc comment
// A align 2 bit Note: for now only 1 used!
// U uppercase 1 bit 0 do nothing, 1 do to_upper()
// normal comment
pub fn a9() {
println('hi')
}
// foo does stuff
// ```
// this is a multiline codeblock.
// second line
// third line.
// ```
pub fn foo() {}