Poorvi Acharya78 downloadsANNIS Query Language (AQL) syntax highlighting for code blocks.
ANNIS Query Language (AQL) syntax highlighting for Obsidian code blocks.
Current release: v1.0.0
ANNIS (ANNotation of Information Structure) is an open-source search and visualization platform for richly annotated linguistic corpora.
styles.css, so highlighting works out of the box after install.v1.0.0).manifest.json, main.js, and styles.css into:<your-vault>/.obsidian/plugins/aql-syntax-highlighting/Highlighted AQL example in an Obsidian code block:

Use fenced code blocks with the language tag aql:
```aql
cat="PP" & cat="NP" & #1 > #2
```
Another example:
```aql
tok="learning" & pos="NN" & #1 . #2
```
manifest.json, main.js, and styles.css with files from the latest GitHub release (v1.0.0 for now).Requirements:
Install and build:
npm ci
npm run build
Watch mode during development:
npm run dev
Visual validation screenshots (before/after):
npm run test:visual
If Playwright is missing, install it once:
npm install --save-dev playwright
Artifacts are written to:
tests/artifacts/validation-before.pngtests/artifacts/validation-after.pngIf you want to override the default colors:
.obsidian/snippets/aql-highlighting-custom.css.aql-highlighting-custom.Example snippet:
/* AQL token overrides */
.cm-s-obsidian .cm-string {
color: #2aa198;
font-style: italic;
}
.cm-s-obsidian .cm-operator {
color: #dc322f;
font-weight: 700;
}
.cm-s-obsidian .cm-node_1 {
color: #268bd2;
font-weight: 700;
}
manifest.json version.versions.json with the new version to minAppVersion mapping.npm run build.manifest.json.manifest.jsonmain.jsstyles.cssMIT. See LICENSE.