Skip to content

Commit

Permalink
Bump package version
Browse files Browse the repository at this point in the history
Signed-off-by: Parajuli Kiran <[email protected]>
  • Loading branch information
kiranparajuli589 committed Nov 14, 2023
1 parent d7c91cb commit 014eafd
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion demo/src/views/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="hr" />
<div>
<p><strong>Name:</strong> HtmlMark</p>
<p><strong>Version:</strong> 0.2.0</p>
<p><strong>Version:</strong> 0.2.2</p>
<p><strong>Description</strong> A very lightweight markdown parser.</p>
<p><strong>Homepage:</strong> <a href="https://kiranparajuli589.github.io/htmlmark/">https://kiranparajuli589.github.io/htmlmark/</a></p>
<p><strong>Github:</strong> <a href="https://github.com/kiranparajuli589/htmlmark">https://github.com/kiranparajuli589/htmlmark</a></p>
Expand Down
2 changes: 1 addition & 1 deletion demo/src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="home">
<h1>HtmlMark <code>v0.2.1</code></h1>
<h1>HtmlMark <code>v0.2.2</code></h1>
<hr>
<p>
<strong>HtmlMark</strong> is a very lightweight markdown parser.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "htmlmark",
"version": "0.2.1",
"version": "0.2.2",
"description": "Lightweight markdown parser",
"main": "dist/mdp.cjs",
"module": "dist/mdp.esm.js",
Expand Down
21 changes: 21 additions & 0 deletions tests/unit/lexer/__snapshots__/codeblock.spec.js.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`codeblock should accept long but equal ticked code blocks 1`] = `
Array [
Object {
"indent": 0,
"language": "example",
"raw": "\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\` example
===
.
<p>===</p>
\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`",
"type": "code-block",
"value": "===
.
<p>===</p>",
},
Object {
"type": "new-line",
},
]
`;
exports[`codeblock should be set just with indentation bigger or equals to 4 at top 1`] = `
Array [
Object {
Expand Down
18 changes: 0 additions & 18 deletions tests/unit/lexer/__snapshots__/paragraph.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -110,24 +110,6 @@ Array [
]
`;

exports[`paragraph should allow escaped escape character but the only one 1`] = `
Array [
Object {
"indent": 0,
"raw": "\`\\\\\`\`",
"tokens": Array [
Object {
"raw": "\`\\\\\`\`",
"type": "code",
"value": "\\\\\`",
},
],
"type": "paragraph",
"value": "\`\\\\\`\`",
},
]
`;

exports[`paragraph should be deep tokenized: a ****bold**** text 1`] = `
Array [
Object {
Expand Down

0 comments on commit 014eafd

Please sign in to comment.