Changeset 39605 in project
- Timestamp:
- 02/23/21 07:54:21 (5 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/5/chalk
r39462 r39605 15 15 The following is hahn's fibonacci example, rewritten for chalk. Note key 16 16 differences: The example is simply a string (and therefore not evaluated), 17 whith the option of a {{@pre}} or {{@post}} caption. Additionally, the 18 docstring must be contained within a single string and a heading is not 19 generated for the procedure name. 17 whith the option of a {{@pre}} or {{@post}} caption. 20 18 21 19 <enscript highlight="scheme"> … … 63 61 64 62 <enscript> 65 @("Description" [OPTION] ...) 66 </enscript> 63 @("Description" ... [OPTION] ...) 64 </enscript> 65 66 Multiple top-level strings in the docexpr are turned into separate wiki paragraphs. 67 67 68 68 ==== Variables … … 98 98 </enscript> 99 99 100 In the case of procedures defined as variables, chalk considers it a variable100 In the case of procedures defined as variables, chalk considers them variables 101 101 by default, using the function name as a signature. In either case, you can 102 102 override the default signature with the tag {{@sig}}, and you can specify that … … 267 267 === Version History 268 268 269 ; 0.3.4 : Allow multiple strings as description 269 270 ; 0.3.3 : Reduce line spacing, change license options 270 271 ; 0.3.2 : Add multi-line script support
Note: See TracChangeset
for help on using the changeset viewer.