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

@paperist/remark-latex

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paperist/remark-latex - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

lib/converters/blockMathjax/index.d.ts
import LaTeXCompiler from '../../LaTeXCompiler';
export default function blockMathjax(this: LaTeXCompiler, node: any): any;
export default function blockMathjax(this: LaTeXCompiler, node: any, parent: any): any;
"use strict";
const visit = require('unist-util-visit');
function blockMathjax(node) {
function blockMathjax(node, parent) {
node.label = '';
visit(node, 'crossReferenceLabel', (crNode) => {
const nextNodeIdx = node.index + 1;
const nextNode = parent.children[nextNodeIdx];
visit(nextNode, 'crossReferenceLabel', (crNode) => {
node.label += this.convert(crNode);

@@ -7,0 +9,0 @@ });

{
"name": "@paperist/remark-latex",
"description": "wooorm/remark plugin for latex",
"version": "0.0.4",
"version": "0.0.5",
"dependencies": {

@@ -6,0 +6,0 @@ "ejs": "^2.5.2",

Sorry, the diff of this file is not supported yet

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