4 Commits

Author SHA1 Message Date
366856e904 1.0.5 2019-05-05 17:41:39 +02:00
173536be39 fix(core): update 2019-05-05 17:41:39 +02:00
af04a3d04b 1.0.4 2018-09-23 00:45:18 +02:00
efce7dfe6a fix(core): update 2018-09-23 00:45:18 +02:00
3 changed files with 850 additions and 231 deletions

1060
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"name": "@pushrocks/smartmarkdown",
"version": "1.0.3",
"private": true,
"version": "1.0.5",
"private": false,
"description": "do more with markdown files",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
@ -9,18 +9,17 @@
"license": "MIT",
"scripts": {
"test": "tstest test/",
"format": "(gitzone format)",
"build": "tsbuild"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.0.22",
"@gitzone/tsrun": "^1.1.12",
"@gitzone/tstest": "^1.0.15",
"@pushrocks/tapbundle": "^3.0.7",
"@types/node": "^10.10.3"
"@gitzone/tsbuild": "^2.1.11",
"@gitzone/tsrun": "^1.2.6",
"@gitzone/tstest": "^1.0.20",
"@pushrocks/tapbundle": "^3.0.9",
"@types/node": "^12.0.0"
},
"dependencies": {
"@types/marked": "^0.4.1",
"marked": "^0.5.0"
"@types/marked": "^0.6.5",
"marked": "^0.6.2"
}
}

View File

@ -3,7 +3,7 @@ import * as smartmarkdown from '../ts/index';
tap.test('first test', async () => {
const mdString = smartmarkdown.markdownToHtml('# Hi!');
expect(mdString).to.equal('<h1 id="hi-">Hi!</h1>\n');
expect(mdString).to.equal('<h1 id="hi">Hi!</h1>\n');
});
tap.start();