ABAL Language highlighter

approved

by Etudes Informatiques et Services

This plugin has not been manually reviewed by Obsidian staff. Highligting syntax for ABAL language in code blocks.

11 downloadsUpdated 1d agoMIT

ABAL 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.7 or later
  • Works on desktop and mobile

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.