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

mdoc

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdoc - npm Package Compare versions

Comparing version 0.3.4 to 0.4.0

changelog.md

65

package.json
{
"name" : "mdoc",
"description" : "Markdown based documentation generator",
"keywords" : ["markdown", "documentation", "docs", "generator"],
"homepage" : "https://github.com/millermedeiros/mdoc.git",
"version" : "0.3.4",
"author" : {
"name" : "Miller Medeiros",
"url" : "http://blog.millermedeiros.com/"
},
"repository" : {
"type" : "git",
"url" : "https://github.com/millermedeiros/mdoc.git"
},
"main" : "./src/js/main.js",
"bugs" : {
"url" : "https://github.com/millermedeiros/mdoc/issues"
},
"licenses" : [
{
"type" : "MIT",
"url" : "http://www.opensource.org/licenses/mit-license.php"
}
],
"dependencies" : {
"wrench" : ">= 1.3.2",
"handlebars" : ">= 1.0.1",
"commander" : ">= 0.4.0"
},
"bin" : {
"mdoc" : "./bin/mdoc"
"name": "mdoc",
"description": "Markdown based documentation generator",
"keywords": [
"markdown",
"documentation",
"docs",
"generator"
],
"homepage": "https://github.com/millermedeiros/mdoc.git",
"version": "0.4.0",
"author": {
"name": "Miller Medeiros",
"url": "http://blog.millermedeiros.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/millermedeiros/mdoc.git"
},
"main": "./src/js/main.js",
"bugs": {
"url": "https://github.com/millermedeiros/mdoc/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/mit-license.php"
}
],
"dependencies": {
"wrench": ">= 1.3.2",
"handlebars": ">= 1.0.1",
"commander": ">= 0.4.0"
},
"bin": {
"mdoc": "./bin/mdoc"
}
}

@@ -27,3 +27,3 @@

function wrapCode(str, p1, p2){
return p1? '<pre class="brush:'+ p1 +'">\n'+ p2 +'</pre>' : '<pre>\n'+ p2 +'</pre>';
return p1? '<pre class="brush:'+p1+'">'+p2+'</pre>' : '<pre>'+p2+'</pre>';
}

@@ -58,3 +58,3 @@

href : matchName[1],
title : matchTitle[1],
title : matchTitle[1].replace(/\\/g, ''),
name : (matchName.slice(1,4).join('')),

@@ -61,0 +61,0 @@ description : getDescription(mdown, rH.lastIndex)

@@ -33,2 +33,9 @@

var key, helpers = config.hbHelpers;
for (key in helpers){
if (helpers.hasOwnProperty(key)){
handlebars.registerHelper(key, helpers[key]);
}
}
handlebars.registerPartial('header', compileTemplate('header'));

@@ -35,0 +42,0 @@ handlebars.registerPartial('footer', compileTemplate('footer'));

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