amvcp-code-syntax

Community

Tokenize and render selectable syntax blocks.

AuthorEmasoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creates reliable, dependency-free syntax-highlighted code blocks with gutters, copy, and accurate multi-click line selection—while preserving byte-exact source fidelity for copy/paste.

Core Features & Use Cases

  • Dependency-free tokenizer + integrity probe: highlights only when rendered text round-trips byte-exact to the original source; otherwise falls back to plain escaped text.
  • Interactive code chrome: builds a per-line gutter, copy-to-clipboard button, wrap-marker stripe, and selection model from semantic HTML only.
  • Theme-safe token palette: uses a 12-role token palette with mandatory light/dark mirrors and selection-yield rules so tokens remain readable when selected.
  • Language resolution contract: supports a fixed alias map and deliberate fail-soft behavior (no guessing; unknown language => plain).

Quick Start

Render a code block by writing plain semantic HTML, declaring the language once (class="language-<id>" or data-ve-lang="<id>"), and letting the runtime tokenizer generate the gutter, copy button, tokens, and selection behavior.

Dependency Matrix

Required Modules

None required

Components

references

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: amvcp-code-syntax
Download link: https://github.com/Emasoft/ai-maestro-visual-communicator-plugin/archive/main.zip#amvcp-code-syntax

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.