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

remark-math

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-math - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

inlineParser.js

@@ -38,4 +38,3 @@ const rehype = require('rehype')()

if (opts.katex != null) {
const parsedChildrenAST = rehype.parse(opts.katex.renderToString(trimmedValue, {throwOnError: false}), {fragment: true})
hChildren = [parsedChildrenAST]
hChildren = [rehype.parse(opts.katex.renderToString(trimmedValue, {throwOnError: false}), {fragment: true})]
}

@@ -60,3 +59,2 @@

inlineTokenizer.locator = locator
inlineTokenizer.notInLink = true

@@ -63,0 +61,0 @@ // Inline math

{
"name": "remark-math",
"version": "0.1.0",
"version": "0.1.1",
"description": "Math block/inline parser plugin for Remark",

@@ -5,0 +5,0 @@ "main": "index.js",

# Remark Math
[![npm](https://img.shields.io/npm/v/remark-math.svg)](https://www.npmjs.com/package/remark-math)
[![Build Status](https://travis-ci.org/Rokt33r/remark-math.svg?branch=master)](https://travis-ci.org/Rokt33r/remark-math)

@@ -71,6 +72,6 @@

inlineProperties: {
class: 'math-inline'
className: 'math-inline'
},
blockProperties: {
class: 'math-block'
className: 'math-block'
}

@@ -115,3 +116,3 @@ }

inlineProperties: {
class: 'math-inline'
className: 'math-inline'
}

@@ -118,0 +119,0 @@ }

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