summarize-markdown
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -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.'); | ||
}); | ||
}); |
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
6759
127