Scan your whole stack
From OX Research Newsroom
Are you using @comark/plugin-katex?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.1
@comark/plugin-katex was last scanned on 1 Dec 2026 at version 0.0.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.1 LATEST | 1 Dec 2026 | No rules fired |
| 0.0.0-stage | 1 Dec 2026 | Not shown |
Findings for v0.0.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.0.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
KaTeX plugin for Comark. Parses inline $...$ and display $$...$$ expressions and renders them with KaTeX, in HTML, terminal, Vue, React, Svelte and Angular.
katex ships as a dependency, so there is nothing else to install\(...\) and \[...\] delimiters for LLM outputMath components for Vue, React, Svelte, Angular, HTML and ANSInpm install @comark/plugin-katex
# or
pnpm add @comark/plugin-katex
import { parseMarkdown } from 'comark'
import math from '@comark/plugin-katex'
const result = await parseMarkdown('Inline $x^2$ and display $$E = mc^2$$', {
plugins: [math()],
})
The plugin stores the LaTeX source as plain text. Rendering needs a Math component and the KaTeX stylesheet:
import '@comark/plugin-katex/katex.css'
<script setup lang="ts">
import { Markdown } from '@comark/vue'
import math from '@comark/plugin-katex'
import { Math } from '@comark/plugin-katex/vue'
</script>
<template>
<Markdown :plugins="[math()]" :components="{ math: Math }">{{ content }}</Markdown>
</template>
import { Markdown } from '@comark/react'
import math from '@comark/plugin-katex'
import { Math } from '@comark/plugin-katex/react'
<Markdown plugins={[math()]} components={{ math: Math }}>{content}</Markdown>
<script lang="ts">
import { Markdown } from '@comark/svelte'
import math from '@comark/plugin-katex'
import { Math } from '@comark/plugin-katex/svelte'
</script>
<Markdown {content} plugins={[math()]} components={{ math: Math }} />
Each component entry exports only its component, so the plugin always comes from the package root. The Angular adapter (@comark/plugin-katex/angular) and the HTML and ANSI render functions (@comark/plugin-katex/html, @comark/plugin-katex/ansi) follow the same rule.
math(options?) returns the plugin. Options: brackets (also parse \(...\) and \[...\]), options (KaTeX render options).loadKatex() loads KaTeX on demand; getKatex() returns it once loaded; typesetMath(tex, displayMode) renders to HTML.Math components are exported from ./vue, ./react, ./svelte, ./angular, ./html and ./ansi.Full guide and API reference at comark.dev/plugins/official/katex.
Made with ❤️
Published under MIT License.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.