Cobol#
Block Highlighting#
Language highlighting can be enabled with Highlight.js by adding a supported programming language name directly after the first ```
grouping in a Markdown code block:
*> setup the identification division
IDENTIFICATION DIVISION.
*> setup the program id
PROGRAM-ID. HELLO.
*> setup the procedure division
PROCEDURE DIVISION.
*> print a string
DISPLAY 'HELLO WORLD'.
*> end our program
STOP RUN.
Block Markdown#
```cobol
*> setup the identification division
IDENTIFICATION DIVISION.
*> setup the program id
PROGRAM-ID. HELLO.
*> setup the procedure division
PROCEDURE DIVISION.
*> print a string
DISPLAY 'HELLO WORLD'.
*> end our program
STOP RUN.
```
Script adapted from Yvan Scher's "7 cobol examples with explanations"