@treelight/markdown-inline
v0.6.0
Published
Treelight language module for inline Markdown.
Maintainers
Readme
@treelight/markdown-inline
Inline Markdown language definition for Treelight. Register it with @treelight/markdown to highlight emphasis, links, code spans, and other inline constructs.
Install
npm install @treelight/core @treelight/markdown @treelight/markdown-inlineRegister for injections
import { Highlighter } from '@treelight/core';
import markdown from '@treelight/markdown';
import markdownInline from '@treelight/markdown-inline';
const highlighter = await Highlighter.create({
languages: [markdown, markdownInline],
});