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

gitbook-markdown

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-markdown - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

3

lib/page.js

@@ -22,3 +22,4 @@ var _ = require('lodash');

var options = _.extend({}, kramed.defaults, {
renderer: renderer
renderer: renderer,
escape: false
});

@@ -25,0 +26,0 @@

{
"name": "gitbook-markdown",
"version": "0.3.1",
"version": "0.3.2",
"homepage": "https://www.gitbook.com",

@@ -5,0 +5,0 @@ "description": "Parse markdown content for gitbook",

@@ -41,2 +41,9 @@ var fs = require('fs');

});
it('should escape codeblocks with nunjucks tags', function() {
assert.equal(
page.prepare('Hello {{ "Bonjour" }} ```test```'),
'\nHello {{ "Bonjour" }} {% raw %}`test`{% endraw %}\n'
);
});
});
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