Skip to main content
skill CX Codex

comark — Claude Code skill: markdown parsing with components

The comark skill parses markdown with Comark component support and renders it in Vue, React, Svelte or Angular. Fits projects with custom blocks in documentation or content.

no license 306 installs ★ 730 updated 2026-11-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add onmax/nuxt-skills --skill comark -a claude-code
Open on GitHub

What comark does

The skill teaches the agent to work with Comark, a markdown extension where you can embed components directly in text (::alert{type="info"} for blocks, :icon for inline). The parser is built on markdown-it, supports YAML frontmatter, automatic TOC generation, and syntax highlighting via Shiki. Rendering packages are @comark/vue, @comark/react, @comark/svelte, and @comark/angular.

The main method is parseMarkdown(), which returns AST, frontmatter, and metadata. There is streaming mode with auto-close for incomplete tags, suitable for on-the-fly content generation. Components can be mapped to custom ones: pass an object with names and get rendering with your own Vue or React components instead of default blocks.

Installation requires npm or pnpm. Documentation includes guides for syntax, parsing, and rendering for each framework.

What it helps with

  • parse markdown with custom components embedded in text
  • render Comark documents in Vue, React, Svelte or Angular
  • generate content in streaming mode with auto-close for tags
  • extract YAML metadata and automatic TOC from markdown
  • map blocks like ::alert to your own project components

Example prompts for the agent

  • Parse markdown with frontmatter and output AST and metadata
  • Create a Vue component that renders a Comark document with custom ::alert and ::card blocks
  • Set up streaming markdown parsing for real-time content generation

How to install comark

1Skills CLI (Vercel)

npx skills add onmax/nuxt-skills --skill comark -a claude-code

2Manually: put the files in place

~/.claude/skills/comark/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/comark/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about comark

How to install comark in Claude Code?

Run npx skills add onmax/nuxt-skills --skill comark -a claude-code. The skill will be placed in ~/.claude/skills/comark/SKILL.md.

What does the comark skill do?

It teaches the agent to parse and render markdown with Comark components — blocks like ::alert{type="info"} and inline like :icon. Supports Vue, React, Svelte, Angular, streaming, YAML frontmatter, and syntax highlighting via Shiki.

Which frameworks does comark support?

Vue, React, Svelte, and Angular. Each has a separate package: @comark/vue, @comark/react, @comark/svelte, and @comark/angular.

Similar skills

All skills for Frontend and UI →

From the same set13

The whole set →
nuxthub nuxthub is a Claude Code skill that configures databases, KV storage, and blob handling for NuxtHub v0.10.12 applications. Activates when editing Drizzle schemas, migrations, or cloud bindings. CX Codex +1 2,300installs nuxt-better-auth nuxt-better-auth guides Nuxt authentication with @nuxtjs/better-auth, including route guards, session handling, and Better Auth plugins. CX Codex +1 2,100installs nuxt-studio Walks you through self-hosted Nuxt Studio: auth, media, drafts and Git publishing. Useful when the content editor has to live on your own domain. CX Codex +1 1,700installs nuxt-i18n nuxt-i18n — a skill that walks your coding agent through @nuxtjs/i18n setup: locales, translated routes, language detection and locale SEO. CX Codex +1 741installs nuxt-users Skill for Claude Code, Cursor and GitHub Copilot: configures the nuxt-users module — full authentication for Nuxt with roles, password reset and SQLite, MySQL or PostgreSQL support. CX Codex +1 292installs arkenv Helps configure ArkEnv, define typed environment schemas, and add validation to JavaScript and TypeScript projects. CX Codex +1 282installs regle regle is a Claude Code skill for adding and editing Regle-validated forms in Vue 3. It covers field bindings through r$ and displaying validation errors. CX Codex +1 269installs t3-code-continue-thread t3-code-continue-thread resumes work from an earlier T3 Code session by parsing its UUID, checking git worktrees, and writing a fresh handoff document. CX Codex +1 187installs

Project sponsors

Companies that keep this analytics open