Skip to content

YounndAI/yon-textmate

YON

@younndai/yon-textmate
TextMate grammar and Shiki integration for YON™ syntax highlighting
Part of the YON™ toolchain — data, intent, and instructions in a single stream.

Website · Specification · Apache 2.0 · Trademark Policy · Brand Assets

npm license

TextMate grammar and Shiki integration for YON™ syntax highlighting.

What's included

  • syntaxes/yon.tmLanguage.json — TextMate grammar with full EBNF coverage
  • language-configuration.json — Brackets, comments, folding
  • src/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

Structure before scale. Harmony above all.


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.

About

TextMate grammar and Shiki integration for YON™ syntax highlighting — editor support for the stream-first YON data format. npm: @younndai/yon-textmate. By YounndAI — younndai.com.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors