ABAL Language highlighter

by Etudes Informatiques et Services
5
4
3
2
1
New Plugin

Description

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

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

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