Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More →
Socket
Sign inDemoInstall
Socket

rehype-katex

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rehype-katex - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

2

index.js

@@ -42,3 +42,3 @@ /**

const value = toText(element)
const value = toText(element, {whitespace: 'pre'})

@@ -45,0 +45,0 @@ /** @type {string} */

{
"name": "rehype-katex",
"version": "6.0.0",
"version": "6.0.1",
"description": "rehype plugin to transform inline and block math with KaTeX",

@@ -43,3 +43,3 @@ "license": "MIT",

"@types/katex": "^0.11.0",
"hast-util-to-text": "^3.0.0",
"hast-util-to-text": "^3.1.0",
"katex": "^0.13.0",

@@ -46,0 +46,0 @@ "rehype-parse": "^8.0.0",

@@ -47,2 +47,3 @@ # rehype-katex

import rehypeKatex from 'rehype-katex'
import rehypeDocument from 'rehype-document'
import rehypeStringify from 'rehype-stringify'

@@ -55,2 +56,5 @@

.use(rehypeKatex)
.use(rehypeDocument, {
css: 'https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.css'
})
.use(rehypeStringify)

@@ -57,0 +61,0 @@ .process(file)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc