Repository navigation
Layout preview for COBOL
Add preview to a COBOL block's fence (```cobol preview) and a panel under the block shows the printed report lines, built from the program's data definitions — no compiler needed.
- Each record shows its name, length in bytes, a column ruler and its lines; edited numbers get sample values that show zero suppression and signs.
- A
```cobol-sampleblock right after it gives your own test values, one row per printed line. - Choose records with
```cobol preview=HEADING-1,DETAIL-LINE. - Follows IBM Enterprise COBOL editing rules, and warns instead of guessing.
- Works in Reading view, Live Preview and Source mode, including blocks inside callouts and blockquotes, and updates as you type.
See the README's Layout preview section for details.
Other changes
- Optional ISPF-style column ruler above COBOL and JCL blocks.
- The preview limits its own work, so even a very large or unusual block can't slow Obsidian down.
- Now requires Obsidian 1.13.1 or later.