remark-math
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14275
220
262