Agent skill · onmax

comark

Comark (Components in Markdown) parser: syntax, AST, Vue/React/Svelte/Angular renderers, plugins, and LLM streaming with auto-close.

What it needs

About 7k tokens when loaded.

What this skill does

Comark - Skills Guide A high-performance markdown parser with Comark (Components in Markdown) support, built on markdown-it, offering both string-based and streaming APIs. Overview Comark extends standard markdown with a powerful component system while maintaining full compatibility with CommonMark and GitHub Flavored Markdown. It provides: 🚀 High-performance parsing with markdown-it engine 📦 Streaming support with buffered and incremental modes ⚡ Real-time rendering with auto-close for incomplete syntax 🔧 Comark component syntax for custom components 🎨 Vue, React, Svelte & Angular renderers with custom component mapping 📝 YAML frontmatter support 📑 Automatic TOC generation 🎯 Full TypeScript support 🌈 Syntax highlighting with Shiki integration Package Information Package Name: comark Installation: npm install comark or pnpm add comark Exports: Main parser: comark Vue components: @comark/vue React components: @comark/react Svelte components: @comark/svelte Angular components: @comark/angular HTML rendering: @comark/html ANSI terminal rendering: @comark/ansi Nuxt module: @comark/nuxt Quick Start Basic Usage Vue Rendering React Rendering Svelte Rendering Angular Rendering Documentation Sections This guide is organized into focused sections covering different aspects of the package: 📝 1. Markdown Syntax Learn how to write Comark documents with complete syntax reference: Standard Markdown: headings, text formatting, lists, links, images, blockquotes Frontmatter: YAML metadata with special fields (title, depth, searchDepth) Comark Components: block components (::component), inline components (:component), properties, slots, nesting Attributes: custom attributes on native markdown elements using {...} syntax Code Blocks: language specification, filename metadata, line highlighting, special characters Task Lists: GFM-style checkboxes with [x] and [ ] syntax Tables: GFM tables with alignment and inline markdown support → Read Full Markdown Syntax Guide --- 🔧 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills onmax/comark

View the source on GitHub

Browse the @skills marketplace