Skip to content

Commit

Permalink
Merge branch 'release/1.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
yzane committed Oct 27, 2019
2 parents 702b1ff + c6b0898 commit 5c58333
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## 1.4.1 (2019/10/28)
* Fix: "ReferenceError: MarkdownPdf is not defined" on auto create PDF on save in VSCodium [#156](https://github.com/yzane/vscode-markdown-pdf/issues/156)

## 1.4.0 (2019/10/27)
* Add: Support [mermaid](https://github.com/knsv/mermaid)
* Added mermaid support. [#144](https://github.com/yzane/vscode-markdown-pdf/pull/144)
Expand Down
3 changes: 3 additions & 0 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@ Visual Studio Code の `files.autoGuessEncoding` オプションを使うと、

## [Release Notes](CHANGELOG.md)

### 1.4.1 (2019/10/28)
* Fix: "ReferenceError: MarkdownPdf is not defined" on auto create PDF on save in VSCodium [#156](https://github.com/yzane/vscode-markdown-pdf/issues/156)

### 1.4.0 (2019/10/27)
* Add: Support [mermaid](https://github.com/knsv/mermaid)
* Added mermaid support. [#144](https://github.com/yzane/vscode-markdown-pdf/pull/144)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,9 @@ Please use the following to insert a page break.

## [Release Notes](CHANGELOG.md)

### 1.4.1 (2019/10/28)
* Fix: "ReferenceError: MarkdownPdf is not defined" on auto create PDF on save in VSCodium [#156](https://github.com/yzane/vscode-markdown-pdf/issues/156)

### 1.4.0 (2019/10/27)
* Add: Support [mermaid](https://github.com/knsv/mermaid)
* Added mermaid support. [#144](https://github.com/yzane/vscode-markdown-pdf/pull/144)
Expand Down
12 changes: 6 additions & 6 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function markdownPdf(option_type) {
} else if (option_type === 'all') {
types = types_format;
} else {
showErrorMessage('MarkdownPdf().1 Supported formats: html, pdf, png, jpeg.');
showErrorMessage('markdownPdf().1 Supported formats: html, pdf, png, jpeg.');
return;
}

Expand All @@ -94,16 +94,16 @@ async function markdownPdf(option_type) {
var html = makeHtml(content, uri);
await exportPdf(html, filename, type, uri);
} else {
showErrorMessage('MarkdownPdf().2 Supported formats: html, pdf, png, jpeg.');
showErrorMessage('markdownPdf().2 Supported formats: html, pdf, png, jpeg.');
return;
}
}
} else {
showErrorMessage('MarkdownPdf().3 Supported formats: html, pdf, png, jpeg.');
showErrorMessage('markdownPdf().3 Supported formats: html, pdf, png, jpeg.');
return;
}
} catch (error) {
showErrorMessage('MarkdownPdf()', error);
showErrorMessage('markdownPdf()', error);
}
}

Expand All @@ -115,10 +115,10 @@ function markdownPdfOnSave() {
return;
}
if (!isMarkdownPdfOnSaveExclude()) {
MarkdownPdf('settings');
markdownPdf('settings');
}
} catch (error) {
showErrorMessage('arkdownPdfOnSave()', error);
showErrorMessage('markdownPdfOnSave()', error);
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "markdown-pdf",
"displayName": "Markdown PDF",
"description": "Convert Markdown to PDF",
"version": "1.4.0",
"version": "1.4.1",
"publisher": "yzane",
"icon": "images/icon.png",
"engines": {
Expand Down
6 changes: 5 additions & 1 deletion sample/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,11 @@ <h3 id="markdown-pdfstyles-option"><code>markdown-pdf.styles</code> option</h3>
<li>Online CSS (https://xxx/xxx.css) is applied correctly for JPG and PNG, but problems occur with PDF. <a href="https://github.com/yzane/vscode-markdown-pdf/issues/67">#67</a></li>
</ul>
<h2 id="release-notes"><a href="CHANGELOG.md">Release Notes</a></h2>
<h3 id="140-201910xx">1.4.0 (2019/10/xx)</h3>
<h3 id="141-20191028">1.4.1 (2019/10/28)</h3>
<ul>
<li>Fix: &quot;ReferenceError: MarkdownPdf is not defined&quot; on auto create PDF on save in VSCodium <a href="https://github.com/yzane/vscode-markdown-pdf/issues/156">#156</a></li>
</ul>
<h3 id="140-20191027">1.4.0 (2019/10/27)</h3>
<ul>
<li>Add: Support <a href="https://github.com/knsv/mermaid">mermaid</a>
<ul>
Expand Down
Binary file modified sample/README.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sample/README.pdf
Binary file not shown.
Binary file modified sample/README.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5c58333

Please sign in to comment.