-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
documentation.lisp
1785 lines (1211 loc) · 44.2 KB
/
documentation.lisp
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(in-package org.shirakumo.markless)
;; color-table.lisp
(docs:define-docs
(variable *color-table*
"Hash table associating colour names to color-options.
Each entry should be a case-insensitive string as the key and a
CL-MARKLESS-COMPONENTS:COLOR-OPTION as the value. The default table
should include all of the colour names and values defined for
HTML/CSS.
See CL-MARKLESS-COMPONENTS:COLOR-OPTION"))
;; component.lisp
(docs:define-docs
(type components:sized
"Superclass for classes that represent a size in a particular unit.
See UNIT
See SIZE")
(function components:unit
"Accesses the unit of the size as a keyword.
The Markless standard defines the following units:
- :EM Applicable for font sizes expressed in relative width.
- :PT Applicable for font sizes expressed in absolute points.
- :PX Applicable for dimensions expressed in absolute pixels.
- :% Applicable for dimensions expressed in relative percentage to
its container.
See SIZED")
(function components:size
"Accesses the size as a REAL.
This number only makes sense in conjunction with the UNIT.
See SIZED")
(type components:component
"Base class for all components that make up the AST of a parse result.")
(type components:unit-component
"A component without children that represents a visual part of the document.
See COMPONENT")
(type components:text-component
"A component with a text field
See TEXT
See COMPONENT")
(function components:text
"Accessor for the text string the component visualises.
See TEXT-COMPONENT")
(type components:block-component
"A component that encompasses a block of text.
See COMPONENT")
(type components:inline-component
"A component that encompasses an inline section of text.
See COMPONENT")
(type components:parent-component
"A component that contains text and subcomponents.
See CHILDREN
See COMPONENT")
(function components:children
"Accessor for the vector of child objects.
The vector must be adjustable and have a fill-pointer.
See PARENT-COMPONENT")
(type components:root-component
"The base component that makes up a parsed document's AST.
This component also stores cross references and document metadata.
See PARENT-COMPONENT
See LABELS
See AUTHOR
See LANGUAGE
See COPYRIGHT")
(function components:labels
"Accesses the label table of the document.
This should return a hash table with EQUALP test. Each key should be
the name of a label, and each value a component with which this label
was associated. This can be used to resolve cross-references, but only
once the document has been fully parsed.
See LABEL
See ROOT-COMPONENT")
(function components:author
"Accesses the author metadata of the document.
See ROOT-COMPONENT")
(function components:copyright
"Accesses the copyright metadata of the document.
See ROOT-COMPONENT")
(function components:label
"Accesses a specific label in the label table of the document.
See LABELS
See ROOT-COMPONENT")
(type components:paragraph
"Represents a textual paragraph.
See INDENTATION
See PARENT-COMPONENT
See BLOCK-COMPONENT")
(function components:indentation
"Accesses the indentation of the paragraph.
This is retained purely for parsing purposes and has no bearing on the
visual representation in the resulting document.
See PARAGRAPH")
(type components:blockquote-header
"Represents the header of a blockquote.
The header should typically not be directly translated into a
resulting component, but instead be represented alongside the
blockquote with which it is associated.
See SOURCE
See PARENT-COMPONENT
See BLOCK-COMPONENT")
(type components:blockquote
"Represents a blockquote.
If the blockquote's SOURCE is available, it should be displayed
alongside the blockquote in the resulting document.
See SOURCE
See PARENT-COMPONENT
See BLOCK-COMPONENT")
(function components:source
"Accesses the blockquote-header source associated with the blockquote.
See BLOCKQUOTE-HEADER
See BLOCKQUOTE")
(type components:list
"Superclass for all list type components.
See PARENT-COMPONENT")
(type components:list-item
"Superclass for all list item type components.
See PARENT-COMPONENT")
(type components:ordered-list
"Representation of an ordered list.
The child array should only contain ORDERED-LIST-ITEMs.
See LIST
See BLOCK-COMPONENT
See ORDERED-LIST-ITEM")
(type components:ordered-list-item
"Representation of an item in an ordered list.
Each item has an associated order number.
See NUMBER
See LIST-ITEM
See BLOCK-COMPONENT")
(function components:number
"Accesses the number of the list item as an INTEGER.
See ORDERED-LIST-ITEM")
(type components:unordered-list
"Representation of an unordered list.
The child array should only contain UNORDERED-LIST-ITEMs.")
(type components:unordered-list-item
"Representation of an item in an unordered list.
See LIST-ITEM
See BLOCK-COMPONENT")
(type components:header
"Representation of a section heading.
Each header must have a section depth number.
See DEPTH
See PARENT-COMPONENT
See BLOCK-COMPONENT")
(function components:depth
"Accesses the section depth of the header.
This must be a positive integer.
See HEADER")
(type components:horizontal-rule
"Representation of a horizontal rule.
See UNIT-COMPONENT
see BLOCK-COMPONENT")
(type components:code-block
"Representation of a block of literal text.
See LANGUAGE
See OPTIONS
See TEXT-COMPONENT
See BLOCK-COMPONENT")
(function components:language
"Accesses the language.
This can be NIL or a string identifying the language.
See ROOT-COMPONENT
See CODE-BLOCK")
(function components:options
"Accesses the list of options associated with the component.
For a CODE-BLOCK this means a list of opaque options to direct the
representation of the code. For an EMBED this is a list of
EMBED-OPTION instances that dictate visualisation and interaction
options. For a COMPOUND it is a list of COMPOUND-OPTION instances that
convey the various style changes.
See CODE-BLOCK
See EMBED
See COMPOUND")
(type components:instruction
"Superclass for all instructions.
See BLOCK-COMPONENT")
(type components:message-instruction
"Superclass for all instructions that carry a message.
See MESSAGE
See INSTRUCTION")
(function components:message
"Accesses the message string of the instruction.
Typically this message should be displayed to the user somehow.
See MESSAGE-INSTRUCTION")
(type components:directives-instruction
"Superclass for all instructions that carry a list of directives.
See DIRECTIVES
See INSTRUCTION")
(function components:directives
"Accesses the list of directives that this instruction manipulates.
Each entry in the list should be a string representing the name of a
directive.
See DIRECTIVES-INSTRUCTION")
(type components:set
"Representation of a SET instruction.
This instruction changes a state variable.
See VARIABLE
See VALUE
See INSTRUCTION")
(function components:variable
"Accesses the variable of the set instruction.
This should be a string naming the variable in question.
See SET")
(function components:value
"Accesses the value of the set instruction.
This should be a string representing the new value.
See SET")
(type components:info
"Represents an INFO instruction.
See MESSAGE-INSTRUCTION")
(type components:warning
"Represents a WARNING instruction.
See MESSAGE-INSTRUCTION")
(type components:error
"Represents an ERROR instruction.
See MESSAGE-INSTRUCTION")
(type components:include
"Represents an INCLUDE instruction
See FILE
See INSTRUCTION")
(function components:file
"Accesses the file pathname of the file to be included.
See INCLUDE")
(type components:disable
"Represents a DISABLE instruction.
See DIRECTIVES-INSTRUCTION")
(type components:enable
"Represents an ENABLE instruction.
See DIRECTIVES-INSTRUCTION")
(type components:label
"Represents a LABEL instruction
See TARGET
See INSTRUCTION")
(type components:comment
"Represents a comment.
See TEXT-COMPONENT
See BLOCK-COMPONENT")
(type components:embed
"Represents an embed block.
An embed embeds an outside resource into the document. Resolution of
the target is left up to the translator to the resulting document.
See TARGET
See OPTIONS
See UNIT-COMPONENT
See BLOCK-COMPONENT")
(function components:target
"Accesses the target of the given object.
The target is a path to an internal or external resource.
See EMBED
See FOOTNOTE
See URL
See LINK-OPTION
See FOOTNOTE-REFERENCE")
(type components:image
"Representation of the IMAGE embed type.
See EMBED")
(type components:video
"Representation of the VIDEO embed type.
See EMBED")
(type components:audio
"Representation of the AUDIO embed type.
See EMBED")
(type components:embed-option
"Superclass for all options for an embed component.
Every concrete subclass must have the suffix -OPTION.")
(type components:loop-option
"Represents a loop option.
Causes the embed to loop its content.
See EMBED-OPTION")
(type components:autoplay-option
"Represents an autoplay option.
Causes the embed to automatically start playback.
See EMBED-OPTION")
(type components:width-option
"Represents a width option.
Causes the embed to restrict its width to the given size.
See EMBED-OPTION
See SIZED")
(type components:height-option
"Represents a height option.
Causes the embed to restrict its height to the given size.
See EMBED-OPTION
See SIZED")
(type components:float-option
"Represents a float option.
Causes the embed to float within the other blocks.
See DIRECTION
See EMBED-OPTION")
(function direction
"The direction in which the float occurs.
Has to be either :LEFT or :RIGHT.
See FLOAT-OPTION")
(type components:footnote
"Representation of a footnote definition.
Footnotes should typically appear at the end of a page or the full
document regardless of their position in the structure.
See TARGET
See PARENT-COMPONENT
See BLOCK-COMPONENT")
(type components:bold
"Representation of bold text.
See PARENT-COMPONENT")
(type components:italic
"Representation of italic text.
See PARENT-COMPONENT")
(type components:underline
"Representation of underlined text.
See PARENT-COMPONENT")
(type components:strikethrough
"Representation of struck-through text.
See PARENT-COMPONENT")
(type components:code
"Representation of literal text.
See PARENT-COMPONENT")
(type components:subtext
"Representation of text sunk below normal text.
See PARENT-COMPONENT")
(type components:supertext
"Representation of text raised above normal text.
See PARENT-COMPONENT")
(type components:url
"Representation of a literal URL.
See UNIT-COMPONENT
See TARGET")
(type components:compound
"Representation of text with a combination of stylistic transforms applied.
See PARENT-COMPONENT
See OPTIONS")
(type components:compound-option
"Superclass for all compound options.
Every concrete subclass must have the suffix -OPTION.")
(type components:bold-option
"Representation of the bold compound option.
See COMPOUND-OPTION")
(type components:italic-option
"Representation of the italic compound option.
See COMPOUND-OPTION")
(type components:underline-option
"Representation of the underline compound option.
See COMPOUND-OPTION")
(type components:strikethrough-option
"Representation of the strikethrough compound option.
See COMPOUND-OPTION")
(type components:spoiler-option
"Representation of the spoiler compound option.
See COMPOUND-OPTION")
(type components:font-option
"Representation of the font compound option.
See FONT-FAMILY
See COMPOUND-OPTION")
(function components:font-family
"Accesses the font family name of the font option.
See FONT-OPTION")
(type components:color-option
"Representation of the color compound option.
See RED
See GREEN
See BLUE
See COMPOUND-OPTION")
(function components:red
"Accesses the red component of the color-option.
The value must be an integer in [0,255].
See COLOR-OPTION")
(function components:green
"Accesses the green component of the color-option.
The value must be an integer in [0,255].
See COLOR-OPTION")
(function components:blue
"Accesses the blue component of the color-option.
The value must be an integer in [0,255].
See COLOR-OPTION")
(type components:size-option
"Representation of the size compound option.
See COMPOUND-OPTION
See SIZED")
(type components:link-option
"Representation of the link option.
See TARGET
See COMPOUND-OPTION")
(type components:internal-link-option
"Representation of an internal link option.
See LINK-OPTION")
(type components:footnote-reference
"Representation of a reference to a footnote.
See TARGET
See UNIT-COMPONENT")
(type components:en-dash
"Representation of an en-dash.
See UNIT-COMPONENT")
(type components:em-dash
"Representation of an em-dash.
See UNIT-COMPONENT")
(type components:newline
"Representation of a line break.
See UNIT-COMPONENT"))
;; conditions.lisp
(docs:define-docs
(type markless-condition
"Superclass for all conditions related to markless.
See CL:CONDITION")
(type implementation-condition
"Superclass for all conditions that indicate an error in the parser implementation.
See MARKLESS-CONDITION")
(type stack-exhausted
"Error signalled when the directive stack is under- or overflowed.
See IMPLEMENTATION-CONDITION")
(type instruction-evaluation-undefined
"Error signalled when an instruction is not fully implemented.
See INSTRUCTION
See IMPLEMENTATION-CONDITION")
(function instruction
"Returns the problematic instruction.
See INSTRUCTION-EVALUATION-UNDEFINED
See UNKNOWN-INSTRUCTION")
(type parser-condition
"Superclass for all conditions that relate to the parsing process.
See LINE
See CURSOR
See MARKLESS-CONDITION")
(function line
"Returns the line number on which the condition occurred.
The lines are counted from 0.
See PARSER-CONDITION")
(function cursor
"Returns the cursor position after which the condition occurred.
The cursor indexes into the line character by character starting from 0.
See PARSER-CONDITION")
(type parser-error
"Superclass for all conditions that relate to fatal parser errors.
See PARSER-CONDITION")
(type parser-warning
"Superclass for all conditions that relate to recoverable parser errors.
See PARSER-CONDITION")
(type deactivation-disallowed
"Error signalled if an attempt is made to deactivate a directive that cannot be deactivated.
See DIRECTIVE-INSTANCE
See MARKLESS-CONDITION")
(function directive-instance
"Returns the instance of the directive related to the condition.
See DEACTIVATION-DISALLOWED")
(type unknown-instruction
"Error signalled if an instruction is encountered that is unknown.
See INSTRUCTION
See PARSER-ERROR")
(type unknown-embed-type
"Warning signalled if an embed type is encountered that is unknown.
See EMBED-TYPE
See PARSER-WARNING")
(function embed-type
"Returns the name of the embed type related to the condition.
See UNKNOWN-EMBED-TYPE")
(type bad-option
"Warning signalled if an option is malformed or unknown.
See OPTION
See PARSER-ERROR")
(function option
"Returns the option string that could not be parsed.
See BAD-OPTION")
(type bad-unit
"Warning signalled if the size contains an unknown unit.
See BAD-OPTION")
(type option-disallowed
"Warning signalled if an option is attempted to be used for an embed that does not allow it.
See EMBED-TYPE
See BAD-OPTION")
(function embed-type
"Returns the embed-type that caused the error.
See OPTION-DISALLOWED")
(type bad-variable
"Error signalled if a set instruction refers to an unknown variable.
See VARIABLE-NAME
See PARSER-ERROR")
(function variable-name
"Returns the name of the variable related to the condition.
See BAD-VARIABLE
See BAD-VALUE")
(type bad-value
"Error signalled if a set instruction contains an malformed or invalid value for a variable.
See VARIABLE-NAME
See VALUE
See PARSER-ERROR")
(function value
"Returns the variable value related to the condition.
See BAD-VALUE")
(type user-warning
"Warning signalled when a warn instruction is encountered.
See MESSAGE
See PARSER-WARNING")
(function message
"Returns the message the user passed in the warn instruction.
See USER-WARNING
See USER-ERROR")
(type user-error
"Error signalled when an error instruction is encountered.
See MESSAGE
See PARSER-WARNING"))
;; directive.lisp
(docs:define-docs
(function prefix
"Returns the unique prefix of the directive used to identify its start.
Every directive must provide a method for this function.
The prefix is a vector of strings, where each string denotes a set of
possible characters that can appear at that position in the prefix.
For instance, the following prefix
#(\"ab\" \"c\")
Matches the following strings
ac
bc
bca
but not the following
ab
cc
abc
See COMPILE-DISPATCH-TABLE
See DIRECTIVE")
(function begin
"Function called to match the beginning of a directive.
Every directive must provide a method for this function.
This function is called if the PREFIX of the directive has been
matched. This function should then consume the remainder of the prefix
\(if any) and return the new position of the cursor. The method is
responsible for putting the directive and its component onto the stack
if an actual match is found. This can be done via COMMIT.
On an invalid match, the directive should delegate parsing to another
directive, or in the very least advance the cursor somehow as
otherwise the parser will enter an infinite loop of invoking BEGIN on
the same directive after matching its prefix.
See COMMIT
See DIRECTIVE
See READ-BLOCK
See READ-INLINE")
(function invoke
"Function called to invoke parsing of a directive after a successful match.
Every directive must provide a method for this function.
Invoke is called to cause the directive to process its content. It
should return the new cursor position. Invoke will be repeatedly
called on the current directive until the end of the line is reached.
See PROCESS-STACK
See DIRECTIVE")
(function end
"Function called when a directive is popped off the stack due to an unsuccessful match.
A method can be added to this to allow the directive to perform some
undoing. This is typically necessary for inline directives as they
might have consumed a prefix that is now invalid due to the incomplete
match.
See PROCESS-STACK
See DIRECTIVE")
(function consume-prefix
"Function called to consume the prefix of a directive on the next
line.
Every block-directive must provide a method for this function.
This function is called on subsequent lines after the directive has
been dispatched and BEGIN has been called. The directive should match
the correct prefix for subsequent lines and return the updated
cursor on a successful match, or NIL if the match has failed.
See PROCESS-STACK
See BLOCK-DIRECTIVE")
(function consume-end
"Function called to consume the end of an inline directive.
Every inline-directive must provide a method for this function.
This function is called by READ-INLINE if the supplied end-char has
been encountered. CONSUME-END should then return the updated cursor
position on a successful end match, or NIL on an unsuccessful one.
If it returns successfully, the directive and its component will
automatically be popped off the stack.
See READ-INLINE
See INLINE-DIRECTIVE")
(type directive
"Superclass for all directives.
All matching for syntax in Markless is performed by what are called
directives. They control the parsing and compiling behaviour.
A directive will only match if it is currently enabled.
See ENABLED-P")
(function enabled-p
"Accesses whether the directive is currently enabled or not.
Some directives may not be disabled, in which case an error of type
DEACTIVATION-DISALLOWED is signalled if an attempt is made to disable
it.
See DIRECTIVE
See DEACTIVATION-DISALLOWED")
(function ensure-directive
"Resolves the directive-ish to a directive if possible.
The argument can be a DIRECTIVE instance or a symbol naming the class
of one. In the latter case, a new instance of the named class is
returned if the class is a subclass of DIRECTIVE. Otherwise, an error
is signalled.
See DIRECTIVE")
(type root-directive
"Represents the root parser entry.
The root directive is always at the bottom of the stack. It is
responsible for matching and invoking the block directives at the top
level of the document.
The root directive cannot be disabled.
See DIRECTIVE")
(type block-directive
"Superclass for all block directives.
Provides default methods for END and INVOKE.
See END
See INVOKE
See DIRECTIVE")
(type singular-line-directive
"Superclass for all single-line block directives.
Provides default methods for CONSUME-PREFIX and INVOKE.
See END
See INVOKE
See BLOCK-DIRECTIVE")
(type inline-directive
"Superclass for all inline directives.
Provides default methods for CONSUME-PREFIX, END, and INVOKE.
See CONSUME-PREFIX
See END
See INVOKE
See DIRECTIVE")
(type surrounding-inline-directive
"Superclass for select surrounding inline directives.
Provides a method for BEGIN that automatically pops the stack and
advances the cursor if the current directive at the top of the stack
is the same as this directive. This is useful for surrounding inline
directives whose postfix is the same as their prefix.
See BEGIN
See INLINE-DIRECTIVE")
(type paragraph
"The directive for a paragraph.
This is a very important directive as it acts as the fallback in
pretty much every situation and has the most complex parser logic
associated with it.
See CL-MARKLESS-COMPONENTS:PARAGRAPH
See BLOCK-DIRECTIVE")
(type blockquote-header
"The directive for the header of a blockquote.
See CL-MARKLESS-COMPONENTS:BLOCKQUOTE-HEADER
See SINGULAR-LINE-DIRECTIVE")
(type blockquote
"The directive for a blockquote.
See CL-MARKLESS-COMPONENTS:BLOCKQUOTE
See BLOCK-DIRECTIVE")
(type unordered-list
"The directive for an unordered list and its items.
See CL-MARKLESS-COMPONENTS:UNORDERED-LIST
See CL-MARKLESS-COMPONENTS:UNORDERED-LIST-ITEM
See BLOCK-DIRECTIVE")
(type ordered-list
"The directive for an ordered list and its items.
See CL-MARKLESS-COMPONENTS:ORDERED-LIST
See CL-MARKLESS-COMPONENTS:ORDERED-LIST-ITEM
See BLOCK-DIRECTIVE")
(type header
"The directive for a section header.
See CL-MARKLESS-COMPONENTS:HEADER
See SINGULAR-LINE-DIRECTIVE")
(type horizontal-rule
"The directive for a horizontal rule.
See CL-MARKLESS-COMPONENTS:HORIZONTAL-RULE
See SINGULAR-LINE-DIRECTIVE")
(type code-block
"The directive for a code block.
See CL-MARKLESS-COMPONENTS:CODE-BLOCK
See BLOCK-DIRECTIVE")