@younndai/yon-textmate
v0.1.0
Published
TextMate grammar and Shiki integration for YON syntax highlighting
Maintainers
Readme
@younndai/yon-textmate
TextMate grammar and Shiki integration for YON syntax highlighting.
What's included
syntaxes/yon.tmLanguage.json— TextMate grammar with full EBNF coveragelanguage-configuration.json— Brackets, comments, foldingsrc/shiki.ts— Shiki language registration export
Use with Shiki
import { createHighlighter } from "shiki";
import { yonLanguage } from "@younndai/yon-textmate";
const highlighter = await createHighlighter({
themes: ["github-dark"],
langs: [yonLanguage],
});
const html = highlighter.codeToHtml(code, {
lang: "yon",
theme: "github-dark",
});Use with VS Code
Install the YON extension — it bundles this grammar.
Block Injection
Embedded code blocks (@BEGIN TAG ... @END TAG) are highlighted using the inner language grammar. 70+ languages supported — TypeScript, JavaScript, JSON, Python, Rust, Go, SQL, YAML, Markdown, and more. Unrecognized tags fall back to plain text.
| | | | ----------- | --------------------------------------- | | Author | Alexandru Mareș | | Brand | YounndAI | | Company | MARLINK TRADING SRL | | License | Apache-2.0 — © 2026 |
Structure before scale.
