README file from
GithubABAL Language Highlighter
An Obsidian plugin that adds syntax highlighting for the ABAL programming language inside fenced code blocks.
Features
- Syntax highlighting in edit mode (Live Preview & Source) via CodeMirror 6 decorations
- Syntax highlighting in reading mode via a Markdown post-processor
- Case-insensitive keyword detection
- Highlights the following token types:
- Keywords — control flow, data types, OOP constructs, built-in instructions
- Strings — double-quoted literals
- Comments — lines starting with
; - Numbers — decimal and hexadecimal (
/0A) literals - Operators —
+ - * / = < > ! - Punctuation —
( ) , . :
Usage
Use the ```abal fenced code block in any note:
```abal
; This is a comment
dcl myVar%
if myVar = 0
print=1:"Hello, World!"
endif
```
Requirements
- Obsidian
1.8.7or later - Works on desktop and mobile