-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.dark
138 lines (103 loc) · 2.41 KB
/
test.dark
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
pagetitle: testfile
---
# Heading 1
<div id="synopsis" class="heading">Nisi sint
consequat dolore ullamco `enim` aute eu s
it <a href="google.com">exercitation</a>
tempor.</div>
## Heading 2
### Heading 3 with `code` inline
> Consequat quis sit est excepteur
> dolor **adipisicing** _mollit_ sit consectetur
> culpa dolor *deserunt* __sunt__ officia ut `enim`
> ut cupidatat ut eu eiusmod incididunt in
> irure laborum irure veniam pariatur.
#### Heading 4
_Reprehenderit_ excepteur laboris **minim** ut sint
duis sit in sunt in qui **occaecat** laborum
[dolore in incididunt](google.com) mollit proident
*mollit* __mollit__ proident qui nisi.
##### Heading 5
Voluptate aute commodo minim.
###### Heading 6
- In minim aliqua nulla anim aute <https://google.com>
in in anim laboris consequat dolore cupidatat dolore
non est consequat sit cupidatat.
- Lorem ipsum ut `enim` duis aliquip:
1. officia amet velit amet qui
2. culpa sunt in `enim` et eu ut
3. excepteur ut ut sed `reprehenderit`
- Tempor magna -amet- ~incididunt~ laboris sed
elit magna eu `enim` anim mollit minim cillum.
- officia amet velit amet qui
- culpa sunt in `enim` et eu ut
- excepteur ut ut sed `reprehenderit`
## Code Formatting:
_CSS_
```css
body{
width: 48px;
border: 1em solid seagreen;
}
.carton{
display: inline-block;
float:left;
}
#heading{
font-family: Helvetica, monospace;
}
```
**yaml:**
```yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: "trailing-whitespace"
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
```
**json:**
```json
{
"hello": "world",
"fizz": 3.15,
"buzz": 5
}
```
_Python example_
```python
from datetime import datetime
from typing import NamedTuple
nowStr = datetime.today().isoformat()
class Processor(NamedTuple):
name:str = "bobby"
x:int = 3.14
y:int = 5
def function(inp:list[int|float])->str:
"""Here is a doc string"""
for var in inp:
var.name = f"""hello world"""
# process stuff in this loop
...
return str(0)
def main():
pass
if __name__ == '__main__':
main()
```
```java
import org.asdf.parent.module;
public class FooBar{
static {
try{
1/0
print("hello world")
}
}
}
```