@atjson/renderer-commonmark
Advanced tools
Comparing version 0.5.16 to 0.5.17
@@ -25,3 +25,3 @@ "use strict"; | ||
let level = new Array(props.level + 1).join('#'); | ||
return `${level} ${heading.join('')}\n`; | ||
return `${level} ${heading.join('')}\n\n`; | ||
}, | ||
@@ -80,3 +80,3 @@ *'horizontal-rule'() { | ||
this.popScope(); | ||
let markdown = `${list.join('\n')}\n`; | ||
let markdown = `${list.join('\n')}\n\n`; | ||
if (this.type === 'ordered-list' || this.type === 'unordered-list') { | ||
@@ -124,2 +124,2 @@ return `\n${markdown}`; | ||
exports.default = CommonmarkRenderer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSx1REFBNEM7QUFRNUMsTUFBTSxjQUFjLEdBQXFCO0lBTXZDLENBQUMsTUFBTTtRQUNMLElBQUksUUFBUSxHQUFHLEtBQUssQ0FBQztRQUNyQixNQUFNLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxTQUFTLEVBQUUsQ0FBQztJQUN2QyxDQUFDO0lBS0QsQ0FBQyxNQUFNO1FBQ0wsSUFBSSxJQUFJLEdBQUcsS0FBSyxDQUFDO1FBQ2pCLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQztJQUNoQyxDQUFDO0lBUUQsQ0FBQyxZQUFZO1FBQ1gsSUFBSSxJQUFJLEdBQWEsS0FBSyxDQUFDO1FBQzNCLElBQUksS0FBSyxHQUFhLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ2hELElBQUksVUFBVSxHQUFXLEtBQUssQ0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MsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztRQUN2QixDQUFDO0lBQ0gsQ0FBQztDQUNGO0FBL0JELHFDQStCQyJ9 |
@@ -24,3 +24,3 @@ "use strict"; | ||
let level = new Array(props.level + 1).join('#'); | ||
return `${level} ${heading.join('')}\n`; | ||
return `${level} ${heading.join('')}\n\n`; | ||
}, | ||
@@ -79,3 +79,3 @@ *'horizontal-rule'() { | ||
this.popScope(); | ||
let markdown = `${list.join('\n')}\n`; | ||
let markdown = `${list.join('\n')}\n\n`; | ||
if (this.type === 'ordered-list' || this.type === 'unordered-list') { | ||
@@ -122,2 +122,2 @@ return `\n${markdown}`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE9BQU8sUUFBUSxNQUFNLHNCQUFzQixDQUFDO0FBUTVDLE1BQU0sY0FBYyxHQUFxQjtJQU12QyxDQUFDLE1BQU07UUFDTCxJQUFJLFFBQVEsR0FBRyxLQUFLLENBQUM7UUFDckIsTUFBTSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUMsU0FBUyxFQUFFLENBQUM7SUFDdkMsQ0FBQztJQUtELENBQUMsTUFBTTtRQUNMLElBQUksSUFBSSxHQUFHLEtBQUssQ0FBQztRQUNqQixNQUFNLENBQUMsS0FBSyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUM7SUFDaEMsQ0FBQztJQVFELENBQUMsWUFBWTtRQUNYLElBQUksSUFBSSxHQUFhLEtBQUssQ0FBQztRQUMzQixJQUFJLEtBQUssR0FBYSxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDLEtBQUssQ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JLEVBQUUsVUFBVSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ3ZELENBQUM7UUFBQyxJQUFJLENBQUMsQ0FBQztZQUNOLElBQUksSUFBSSxHQUFHLEtBQUssQ0FBQztZQUNqQixNQUFNLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztRQUN2QixDQUFDO0lBQ0gsQ0FBQztDQUNGIn0= |
{ | ||
"name": "@atjson/renderer-commonmark", | ||
"version": "0.5.16", | ||
"version": "0.5.17", | ||
"description": "A brand new TypeScript library.", | ||
@@ -19,3 +19,3 @@ "main": "dist/commonjs/index.js", | ||
"@atjson/core": "^0.5.12", | ||
"@atjson/hir": "^0.5.16", | ||
"@atjson/hir": "^0.5.17", | ||
"tslint": "^5.7.0", | ||
@@ -25,4 +25,4 @@ "typescript": "^2.4.2" | ||
"dependencies": { | ||
"@atjson/renderer-hir": "^0.5.16" | ||
"@atjson/renderer-hir": "^0.5.17" | ||
} | ||
} |
@@ -55,3 +55,3 @@ import { HIRNode } from '@atjson/hir'; | ||
let level = new Array(props.level + 1).join('#'); | ||
return `${level} ${heading.join('')}\n`; | ||
return `${level} ${heading.join('')}\n\n`; | ||
}, | ||
@@ -153,3 +153,3 @@ | ||
let markdown = `${list.join('\n')}\n`; | ||
let markdown = `${list.join('\n')}\n\n`; | ||
if (this.type === 'ordered-list' || this.type === 'unordered-list') { | ||
@@ -156,0 +156,0 @@ return `\n${markdown}`; |
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
25964
Updated@atjson/renderer-hir@^0.5.17