diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-05-07 14:03:55 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-05-07 14:03:55 +0200 |
commit | 52ef2529c877b2b08ac67ebee8f1842b84720e90 (patch) | |
tree | 3b6790c22d20365020317310e585e7b9103a71df /assets/js | |
parent | baae0f305f1cbbe1de0da084c6fb05a9f289571f (diff) |
view: Generate blocks of lines and style the blocks.
This allows us to toggle the display of lines that belong together.
* mumi/web/view/utils.scm (<block>): New record type.
(add-block-line!): New procedure.
(process): Take the list of blocks as an argument; return the new
blocks and the next context.
(prettify): Render blocks with classes derived from the block type.
* assets/css/screen.css: Adjust.
Diffstat (limited to 'assets/js')
0 files changed, 0 insertions, 0 deletions