Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

ABAP Syntax Highlight

Laurin SorgendLaurin Sorgend145 downloads

Adds ABAP syntax highlighting to fenced abap code blocks in Reading view and while editing.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Adds ABAP syntax highlighting to ```abap fenced code blocks in Obsidian, both in Reading view and while editing (Live Preview / Source mode).

Features

  • Highlights ABAP keywords, strings ('...', `...`, |...| string templates), comments (* line comments and inline " comments), pragmas (##...), numbers, and operators.
  • Works in Reading view and in the editor, using Obsidian's theme CSS variables so colors match your active theme in both light and dark mode.
  • No network access, no telemetry, no external dependencies bundled into the plugin.

Example

```abap
REPORT zz_test_report.

DATA: lv_name TYPE string.

IF lv_name IS INITIAL.
  lv_name = |Hello { sy-uname }|. " inline comment
ENDIF.
```

Installation

From the Community Plugins directory

Once available in Obsidian's Community Plugins directory: open Settings → Community plugins → Browse, search for "ABAP Syntax Highlight", and select Install, then Enable.

Manually

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Copy them into <YourVault>/.obsidian/plugins/abap-syntax-highlight/.
  3. Reload Obsidian and enable the plugin under Settings → Community plugins.

Development

npm install
npm run dev    # watch mode
npm run build  # type-check + production build
npm run lint   # eslint

Source lives in src/:

  • abap-tokenizer.ts — the shared ABAP token rules used by both rendering paths.
  • abap-reading-view.ts — renders highlighted ```abap blocks in Reading view via registerMarkdownCodeBlockProcessor.
  • abap-live-preview.ts — a CodeMirror 6 extension that highlights ```abap blocks in the editor.
  • main.ts — plugin entry point, wires the two above.

License

MIT

HealthExcellent
ReviewPassed
About
Highlight ABAP syntax in fenced abap code blocks across Reading view, Live Preview, and Source mode. Color keywords, strings ('...', `...`, |...| templates), comments, pragmas, numbers, and operators to match your Obsidian theme with no network access, telemetry, or external dependencies.
SyntaxLanguages
Details
Current version
1.0.1
Last updated
2 months ago
Created
2 months ago
Updates
2 releases
Downloads
145
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Laurin SorgendLaurin Sorgendlaurinsorgend
GitHublaurinsorgend
  1. Community
  2. Plugins
  3. Syntax
  4. ABAP Syntax Highlight

Related plugins

GDScript Syntax Highlighting

Add live GDScript syntax highlighting to code block.

Code Suite

Execute code inside your notes: Shiki syntax highlighting with 65+ themes, live streaming output, inline Matplotlib and Plotly graphs, shared variables, and styled HTML and PDF export with outputs.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

PanGu

Add spaces between Chinese characters and English alphabet. A boon for typographically compulsive people.

Fountain Editor

Fountain (screenplay) syntax highlighting in the editor.

VSCode Editor

Edit Code Files like VSCode.

Japanese Novel Ruby

Treat ruby(Furigana) ​​marks commonly used in Japanese novels

Dictionary

A multilingual dictionary that shows word definitions in the sidebar and popover synonyms.

Shiki Highlighter

Highlight code blocks with Shiki.

LanguageTool

Unofficial integration of the LanguageTool spell and grammar checker.