-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarkwhen.mw
198 lines (126 loc) · 4.83 KB
/
markwhen.mw
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
---
title: Welcome to Markwhen!
edit:
view: \*
#Project1: #d336b1
---
section Welcome #welcome
now: This example timeline showcases some of markwhen's features.
now: For more information, view the documentation [here](https://docs.markwhen.com) or join the [discord](https://discord.gg/3rTpUD94ac)
#welcome
now: Note that changes you make here are not saved
If you want to make a new markwhen you should open a tab at the bottom or click open in the sidebar
endSection
section All Projects
group Project 1 #Project1
// Supports ISO8601
2023-01/2023-03: Sub task #John
2023-03/2023-06: Sub task 2 #Michelle
More info about sub task 2
- [ ] We need to get this done
- [x] And this
- [ ] This one is extra
2023-07: Yearly planning
endGroup
group Project 2 #Project2
2023-04/4 months: Larger sub task #Danielle
// Supports American date formats
03/2023 - 1 year: Longer ongoing task #Michelle
- [x] Sub task 1
- [x] Sub task 2
- [ ] Sub task 3
- [ ] Sub task 4
- [ ] so many checkboxes omg
10/2023 - 2 months: Holiday season
endGroup
group Project 3
01/2024: Project kickoff
02/2024-04/2024: Other stuff
endGroup
endSection
2023-01-03 every other week for 1 year: Biweekly meeting
// Events that don't have explicit end dates have inferred ranges - for example, when a year is specified, it lasts from the beginning of that year to the end of it.
2024: A year-long event
// Inferred ranges are as granular as their definitions.
09/2024: one month
2025-05-05: one day
Jan 4 2025 8am: instant
// You can also be specific with your ranges
2024/2025: An event that lasts two years
November 8, 2022 9am - November 9, 2023, 10am: one year, one day, and one hour
now: [More documentation](https://docs.markwhen.com/syntax/events.html)
// Event descriptions last from the date range definition up to the next event
2029-04-25/2029-05-03: Descriptions can be one line
2029-04-25/2029-05-03: Or
they can span
multiple lines
1/27/2025: [] An event can have a checkbox for completion
Put square brackets at the start of the event description
1/27/2026: [x] To mark an event as completed, put an x in the square brackets
1/27/2027: Events can have lists
- [ ] checkbox list item
- [x] a completed checkbox list item
- simple list item
- another simple list item
1/27/2028 - 1 year: 68% Manually indicate an event's completion with a percentage in the description
Partially completed events will have their event bar partially filled that amount
1 year: Links are markdown-style: [This is a link](https://markwhen.com)
1 year: Images are also markdown-style:

1 year: Locations (which are more useful for the map view) can be indicated in a similar way: [Hawaii](location) [Alaska](map)
2024: Refer to other markwhen documents with `@` syntax: @rob
now: [More documentation](https://docs.markwhen.com/syntax/event-descriptions.html)
// Events can be grouped together
group
1/27/2024: Happy birthday
2020-03: Covid started in the US
endGroup
group Group with title
Feb 2 2025: Interviewing
Feb 8 2025: Write report
Feb 19 2025: Presentation
endGroup
group Groups can contain other groups #big
group Smaller plan #small #nested
1 year: Accomplish something
2 years: Accomplish something else
endGroup
1 year: Things are accomplished
endGroup
section Sections extend across the screen
2023: Start year
section Nested section #nested
2025: End year
endSection
endSection
now: [More documentation](https://docs.markwhen.com/syntax/groups-and-sections.html)
// Specify tag colors in the header (before any event)
#Timeline: #abf
now: Events and groups can have tags
section Tagged events #Timeline
Feb 18 1999: back in the day #Past #The90s
2043: in the future #TheOther90s
now: [More documentation](https://docs.markwhen.com/syntax/event-descriptions.html#tag)
2025: Event
1 year: This event happens immediately after the previous event and lasts for 1 year
#after
3 months - 1 month: This event happens 3 months after the previous event and lasts for 1 month
#after
by 2 weeks - 1 month: This event happens 2 weeks before the previous event and lasts 1 month
#before
2023: Event !base
after !base 1 year - 1 month: This event happens 1 year after the event with with id `base` and lasts for 1 month
#after
before !base 1 week day - 1 hour: This event happens 1 week day before the event with id `base` and lasts 1 hour
#before
October 7, 1989 every year for 10 years: ...
2025-03-04 every week for 12 weeks: ...
2022-01/2022-03 every other year x9: ...
Feb 1 2023 every 6 months for 10 times: ...
// Visually indicate that an event is an era or milestone with the tag #era or #milestone
2023-06-01/2023-08-20: Summer time #vacation
2023-08-21/2023-12-17: Back to school
2023-12-18/2024-01-05: Winter break #vacation #milestone
2024-01-08/2024-05-31: Back to school
2024-05-27/2024-05-31: Final project due #milestone