UNPKG

@tanstack/highlight

Version:

Tiny class-based syntax highlighting for documentation.

7 lines (6 loc) • 239 B
import { defineLanguage } from '../core.js'; import { collectMarkupRanges } from '../internal/markup.js'; export const vue = defineLanguage({ name: 'vue', tokenize: (code, context) => collectMarkupRanges(code, context, 'vue'), });