@younndai/yon-textmate
v0.1.1
Published
TextMate grammar and Shiki integration for YON™ syntax highlighting — editor support for the stream-first YON data format.
Downloads
217
Maintainers
Readme
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.
License & Attribution
Apache-2.0. © 2026 MARLINK TRADING SRL (YounndAI). See LICENSE and NOTICE.
"YON" and "YounndAI" are trademarks of MARLINK TRADING SRL — see TRADEMARK.md.
Created by Alexandru Mareș.
Website: yon.younndai.com
| | | | ------------- | ------------------------------------------------------- | | Spec | YON v2.0 | | Author | Alexandru Mareș | | Company | MARLINK TRADING SRL · YounndAI™ | | License | Apache 2.0 — © 2026 MARLINK TRADING SRL | | Trademark | YounndAI™ Trademark Guidelines |
Structure before scale.
