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

writr

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

writr - npm Package Compare versions

Comparing version 0.4.8 to 0.5.0

2

dist/post.js

@@ -43,3 +43,3 @@ "use strict";

if (!this.metaData.body) {
this.metaData.body = new MarkDownIt().render(this.content);
this.metaData.body = new MarkDownIt({ html: true }).render(this.content);
}

@@ -46,0 +46,0 @@ return this.metaData.body;

@@ -60,3 +60,3 @@ "use strict";

//fix to handle the body variable from markdown.
source = source.replace("{{body}}", post.body);
//source = source.replace("{{body}}", post.body);
result = this.renderTemplate(source, post);

@@ -63,0 +63,0 @@ }

{
"name": "writr",
"version": "0.4.8",
"version": "0.5.0",
"description": "A Simple to Use Markdown Blog",

@@ -17,3 +17,3 @@ "main": "./dist/index",

"test": "yarn nyc mocha",
"test-output": "yarn compile && node ./dist/index.js -p ./blog_example",
"test-output": "yarn compile && node ./bin/writr -p ./blog_example",
"coverage": "nyc report --reporter=json && codecov -f coverage/*.json -t 62b3983c-08a1-425f-99b9-71e84fef74bc"

@@ -20,0 +20,0 @@ },

Sorry, the diff of this file is not supported yet

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