Files
klammertext/sks/code/code.k

21 lines
496 B
Plaintext
Raw Normal View History

2026-08-06 13:11:37 +02:00
@@code.k :filename :pattern
@hpos_args :hpos left @
@caption_args :caption_side top @
| text.literal :
A source file displayed verbatim
@@
2026-08-06 13:11:37 +02:00
@@code :: @eval code_block.Code(K) @ @@
@@c.k code_text :
A word or phrase displayed verbatim in a line
@@
2026-08-06 13:11:37 +02:00
@@c :: @eval code_block.Code_fragment(K) eval@
@@
# :cwd makes the filename resolve against the DOCUMENT's directory, not
# the directory ktext happens to run in.
2026-08-06 13:11:37 +02:00
@@source_file filename : @eval :cwd *K_input_dir* code_block.Source(K) @ @@