Documentation
¶
Overview ¶
Package stress writes long markdown documents of several shapes, to see how mdsh-gui copes with them: the benchmarks in the notebook package parse and lay them out, and cmd/mdsh-gui/internal/stress/gui.cjs types into them in the real frontend. Command stressdoc writes one to a file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Shapes = []string{"runbook", "prose", "output", "inputs", "flat"}
Shapes are the kinds of document Write makes:
- runbook: sections of sh blocks, each with saved output, a list and some prose, and every third block depends on the one before. The common case.
- prose: mostly paragraphs, lists, tables, quotes and fenced code that doesn't run, with a block now and then.
- output: few blocks, each with a long saved output.
- inputs: textboxes and choices bound with var=, and blocks that use them and depend on each other in long chains.
- flat: blocks without ids and prose, with no headings at all, so nothing folds, no section ends and mdsh names each block by its line.
Functions ¶
Types ¶
This section is empty.