File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,37 @@ page_task
6767 {
6868 position .task += 1 ;
6969 if (! output .pages [position .page ].tasks ) {
70- output .pages [position .page ].tasks = [{
71- description: adjust (description)
72- }]
70+ output .pages [position .page ].tasks = [];
7371 }
72+ output .pages [position .page ].tasks .push ({
73+ description: adjust (description)
74+ })
7475 }
7576
77+ page_actions
78+ = page_onComplete
79+ / page_import
80+
81+ task_actions
82+ = task_test
83+ / task_hint
84+ / task_action
85+
86+ task_test
87+ = '@test'
88+
89+ task_hint
90+ = '@hint'
91+
92+ task_action
93+ = '@action'
94+
95+ page_onComplete
96+ = '@onPageComplete'
97+
98+ page_import
99+ = '@import'
100+
76101info_title
77102 = '#'
78103 space ?
@@ -88,6 +113,9 @@ info_description
88113 output .info .description += adjust (description);
89114 }
90115
116+ within_brackets
117+ = '(' .+ ')' break
118+
91119content = [^#^@^+] [^\n ^\r ]+ [\n\r ]
92120space = [ \s ]
93121break = [\n\r ]?
You can’t perform that action at this time.
0 commit comments