-
Notifications
You must be signed in to change notification settings - Fork 1
/
todo.norg
81 lines (80 loc) · 2.7 KB
/
todo.norg
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
* ( ) Code
- ( ) add testing
-- (!) make test for pandoc itself
-- (_) change test tool to something else (*busted*'s messages are hard to read)
-- ( ) add more test cases (copy from tree-sitter's)
- (x) remove pandoc dependency
use special `token(id, patt)` function to replace all `/ pandoc.Whatever`
this function will be different if global `as_pandoc` option.
if `as_pandoc == false`, `token` will be a table containing `id` and captured values.
it is useful for debuging.
- ( ) we can parse all line-ending with `whitespace ^ 0 * line_ending * whitespace ^ 0`
* ( ) implement custom pandoc reader
** (x) Layer 1
- (x) Attached Modifiers
- (x) Links (only URL type)
- (x) Escape Char
** (x) Layer 2
- (x) Nestable Detached Modifiers
-- (x) ordered / unordered lists
-- (x) quotes
-- (?) attributes
should this be in Layer 2?
- (x) Headings
- (=) Verbatim Ranged Tags
-- (x) `@code`
-- (=) `@document.meta`
this would be done via standard library in future
- (x) Delimiting Modifiers (like horizontal rules)
- (x) Links (minus *timestamps*, *wikilinks*, *extendable links(=)*, *anchors*)
-- (x) to File Location (`{:path/to/file:}`)
-- (_) to Line Number
see: {https://github.com/nvim-neorg/norg-specs/issues/22}[norg-specs#22]
-- (x) to Detached Modifier
--- (x) to *Structural Detached Modifiers* (= *headings*)
--- (x) to *Range-able Detached Modifiers* (= *definitions*, *footnotes*)
-- (x) to Custom Detached Modifiers
--- (x) magic (`#`)
--- (x) file (`/`)
** ( ) Layer 3
- (?) Links (*timestamps*, *wikilinks*)
-- ( ) timestamps
-- (=) wikilinks
- (x) Inline Link Targets
- (=) Carryover Tags
-- ( ) week
-- ( ) strong
- (?) Detached Modifier Extensions
-- (x) basic `(x)` and `( )` todo item
-- (?) advanced todo items (but how?)
- (x) Detached Modifier Suffix
-- (x) slide (`:`)
-- (x) indent segment (`::`)
- (x) Range-able Detached Modifiers (minus *table cells*)
-- (x) Definition
-- (x) Footnotes
- (x) Link Modifier (the `:` thing)
** ( ) Layer 4
- (=) extendable links, scoping
- (?) ::
standard ranged tags (`\|comment`, etc.)
this should be implemented as macros
-- (x) `\|example`
-- (x) `\|comment`
-- ( ) `\|details`
-- (x) `\|group`
- ( ) table cells
very low priority
- (x) Free-form attached modifiers
- (x) ::
Intersecting Modifiers
This would enable code like:
@code norg
$ Term : definition
@end
- (-) Attached Modifier Extensions
- (?) inline math / variable
what are these?
** ( ) Layer 5
- ( ) *macros*
%TODO: add todos%