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

rebber

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rebber - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

dist/custom-types/align.js

5

dist/custom-types/figure.js

@@ -21,2 +21,5 @@ 'use strict';

return '\\begin{codeBlock}' + params + '{' + extra.language + '}' + ('\n' + _code + '\n\\end{codeBlock}\n\n');
},
table: function table(innerText) {
return innerText;
}

@@ -53,2 +56,4 @@ };

node.caption = caption; // allows to add caption to the default processing
node.children = node.children.filter(function (node) {

@@ -55,0 +60,0 @@ return node.type !== 'figcaption';

3

dist/one.js

@@ -19,2 +19,5 @@ 'use strict';

handlers.text = require('./types/text');
handlers.link = require('./types/link');
handlers.list = require('./types/list');
handlers.listItem = require('./types/listItem');
handlers.break = require('./types/break');

@@ -21,0 +24,0 @@ handlers.code = require('./types/code');

@@ -18,3 +18,7 @@ 'use strict';

colHeader += 'c|'.repeat(cols);
return '\\begin{longtabu}{' + colHeader + '} \\hline\n' + inner + '\\end{longtabu}\n\n';
var addendum = '';
if (node.caption) {
addendum = '\n\\tablecaption{' + node.caption + '}\n';
}
return '\\begin{longtabu}{' + colHeader + '} \\hline\n' + inner + addendum + '\\end{longtabu}\n\n';
};

@@ -21,0 +25,0 @@

5

package.json
{
"name": "rebber",
"version": "0.0.13",
"version": "0.0.14",
"description": "Stringifies MDAST to LaTeX",

@@ -43,3 +43,4 @@ "repository": "https://github.com/zestedesavoir/zmarkdown/tree/master/packages/rebber",

"jest": "^20.0.4",
"remark-captions": "^0.0.7",
"remark-align": "^0.0.18",
"remark-captions": "^0.0.8",
"remark-emoticons": "^0.0.16",

@@ -46,0 +47,0 @@ "remark-parse": "^3.0.1",

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