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

summarize-markdown

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

summarize-markdown - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

index.js

@@ -10,2 +10,5 @@ "use strict";

};
renderer.codespan = function(text) {
return text;
};
renderer.blockquote = function(quote) {

@@ -51,3 +54,2 @@ quote = he.decode(quote);

};
//codespan(string code)
renderer.br = function() {

@@ -54,0 +56,0 @@ return ' / ';

{
"name": "summarize-markdown",
"version": "0.3.0",
"version": "0.3.1",
"description": "Summarize markdown into a simple text string",

@@ -5,0 +5,0 @@ "author": {

@@ -76,5 +76,9 @@ var assert = require('assert');

it('ignores code', function() {
it('ignores code block', function() {
t('First content.\r\n\r\n```js\r\nvar x = 3;\r\nvar y = 4;\r\n```\r\n\r\nSome other content.', 'First content. Some other content.');
});
it('summarize a codespan', function() {
t('This is some `code`.', 'This is some code.');
});
});
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