Skip to content

Commit

Permalink
Merge branch 'release/1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
yzane committed Sep 22, 2019
2 parents e93b2ab + 08ff411 commit 6cd86c0
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 192 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 1.2.1 (2019/09/23)
* Fix: [fix typo, grammar](https://github.com/yzane/vscode-markdown-pdf/pull/122)
* Add: [Option to specify the plantuml delimiter](https://github.com/yzane/vscode-markdown-pdf/pull/104)
* Update: dependencies packages
* Update: README
* Delete the description of the obsolete options.

## 1.2.0 (2018/05/03)
* Add: Support [markdown-it-plantuml](https://github.com/gmunguia/markdown-it-plantuml)
* Support for lightweight diagrams (PlantUML) [#60](https://github.com/yzane/vscode-markdown-pdf/issues/60)
Expand Down
36 changes: 17 additions & 19 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ Markdown PDF をインストールして、Visutal Studio Code で Markdownフ
||[markdown-pdf.clip.width](#markdown-pdfclipwidth)|
||[markdown-pdf.clip.height](#markdown-pdfclipheight)|
||[markdown-pdf.omitBackground](#markdown-pdfomitbackground)|
|[PlantUML options](#plantuml-options)|[markdown-pdf.plantumlOpenMarker](#markdown-pdfplantumlopenmarker)|
||[markdown-pdf.plantumlCloseMarker](#markdown-pdfplantumlclosemarker)|

### Save options

Expand Down Expand Up @@ -441,6 +443,16 @@ Markdown PDF をインストールして、Visutal Studio Code で Markdownフ
- デフォルトの白い背景ではなく、透過によるスクリーンショットのキャプチャーを有効にします
- boolean. Default: false

### PlantUML options

#### `markdown-pdf.plantumlOpenMarker`
- plantuml パーサーの開始区切り文字
- Default: @startuml

#### `markdown-pdf.plantumlCloseMarker`
- plantuml パーサーの終了区切り文字
- Default: @enduml

<div class="page"/>

## FAQ
Expand Down Expand Up @@ -492,26 +504,12 @@ Visual Studio Code の `files.autoGuessEncoding` オプションを使うと、

## [Release Notes](CHANGELOG.md)

### 1.2.0 (2018/05/03)
* Add: Support [markdown-it-plantuml](https://github.com/gmunguia/markdown-it-plantuml)
* Support for lightweight diagrams (PlantUML) [#60](https://github.com/yzane/vscode-markdown-pdf/issues/60)

### 1.1.0 (2018/05/03)
* Add: Support [markdown-it-container](https://github.com/markdown-it/markdown-it-container) [#72](https://github.com/yzane/vscode-markdown-pdf/issues/72)

### 1.0.5 (2018/05/03)
* Improve: Exception handling
* Improve: Chromium install check
* Add: Page break
* Is it possible to insert page breaks? [#25](https://github.com/yzane/vscode-markdown-pdf/issues/25)
### 1.2.1 (2019/09/23)
* Fix: [fix typo, grammar](https://github.com/yzane/vscode-markdown-pdf/pull/122)
* Add: [Option to specify the plantuml delimiter](https://github.com/yzane/vscode-markdown-pdf/pull/104)
* Update: dependencies packages
* Update: README
* FAQ: Page break
* Update: markdown-pdf.css
* Add: Meiryo to font-family

### 1.0.4 (2018/05/01)
* Fix: Display error message when downloading Chromium
* Improve: Chromium install. Display download progress on status bar
* Delete the description of the obsolete options.


## License
Expand Down
36 changes: 17 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ If the download is not successful or you want to avoid downloading every time yo
||[markdown-pdf.clip.width](#markdown-pdfclipwidth)|
||[markdown-pdf.clip.height](#markdown-pdfclipheight)|
||[markdown-pdf.omitBackground](#markdown-pdfomitbackground)|
|[PlantUML options](#plantuml-options)|[markdown-pdf.plantumlOpenMarker](#markdown-pdfplantumlopenmarker)|
||[markdown-pdf.plantumlCloseMarker](#markdown-pdfplantumlclosemarker)|

### Save options

Expand Down Expand Up @@ -447,6 +449,16 @@ If the download is not successful or you want to avoid downloading every time yo
- Hides default white background and allows capturing screenshots with transparency
- boolean. Default: false

### PlantUML options

#### `markdown-pdf.plantumlOpenMarker`
- Oppening delimiter used for the plantuml parser.
- Default: @startuml

#### `markdown-pdf.plantumlCloseMarker`
- Closing delimiter used for the plantuml parser.
- Default: @enduml

<div class="page"/>

## FAQ
Expand Down Expand Up @@ -498,26 +510,12 @@ Please use the following to insert a page break.

## [Release Notes](CHANGELOG.md)

### 1.2.0 (2018/05/03)
* Add: Support [markdown-it-plantuml](https://github.com/gmunguia/markdown-it-plantuml)
* Support for lightweight diagrams (PlantUML) [#60](https://github.com/yzane/vscode-markdown-pdf/issues/60)

### 1.1.0 (2018/05/03)
* Add: Support [markdown-it-container](https://github.com/markdown-it/markdown-it-container) [#72](https://github.com/yzane/vscode-markdown-pdf/issues/72)

### 1.0.5 (2018/05/03)
* Improve: Exception handling
* Improve: Chromium install check
* Add: Page break
* Is it possible to insert page breaks? [#25](https://github.com/yzane/vscode-markdown-pdf/issues/25)
### 1.2.1 (2019/09/23)
* Fix: [fix typo, grammar](https://github.com/yzane/vscode-markdown-pdf/pull/122)
* Add: [Option to specify the plantuml delimiter](https://github.com/yzane/vscode-markdown-pdf/pull/104)
* Update: dependencies packages
* Update: README
* FAQ: Page break
* Update: markdown-pdf.css
* Add: Meiryo to font-family

### 1.0.4 (2018/05/01)
* Fix: Display error message when downloading Chromium
* Improve: Chromium install. Display download progress on status bar
* Delete the description of the obsolete options.


## License
Expand Down
30 changes: 15 additions & 15 deletions 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.2.0",
"version": "1.2.1",
"publisher": "yzane",
"icon": "images/icon.png",
"engines": {
Expand Down Expand Up @@ -338,20 +338,6 @@
"default": "",
"description": "pdf only. Paper ranges to print, e.g., '1-5, 8, 11-13'."
},
"markdown-pdf.plantumlOpenMarker": {
"type": [
"string"
],
"default": "@startuml",
"description": "Oppening delimiter used for the plantuml parser."
},
"markdown-pdf.plantumlCloseMarker": {
"type": [
"string"
],
"default": "@enduml",
"description": "Closing delimiter used for the plantuml parser."
},
"markdown-pdf.format": {
"type": [
"string",
Expand Down Expand Up @@ -451,6 +437,20 @@
"default": false,
"description": "Hides default white background and allows capturing screenshots with transparency."
},
"markdown-pdf.plantumlOpenMarker": {
"type": [
"string"
],
"default": "@startuml",
"description": "Oppening delimiter used for the plantuml parser."
},
"markdown-pdf.plantumlCloseMarker": {
"type": [
"string"
],
"default": "@enduml",
"description": "Closing delimiter used for the plantuml parser."
},
"markdown-pdf.StatusbarMessageTimeout": {
"type": "number",
"default": 10000,
Expand Down
166 changes: 27 additions & 139 deletions sample/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,13 +386,8 @@
</head>
<body>
<h1 id="markdown-pdf">Markdown PDF</h1>
<p>This extension convert Markdown file to pdf, html, png or jpeg file.</p>
<p><a href="README.ja.md">Japanease README</a></p>
<h2 id="font-colorred-important-notices-font"><font color="red"> Important Notices </font></h2>
<ul>
<li>Markdown PDF ver1.0.0 replaced PDF converter with <a href="https://github.com/GoogleChrome/puppeteer">puppeteer</a> (Chromium) instead of <a href="https://github.com/marcbachmann/node-html-pdf">node-html-pdf</a> (PhantomJS)</li>
<li>Some options are obsolete, please change. See <a href="#options">Options</a></li>
</ul>
<p>This extension converts Markdown files to pdf, html, png or jpeg files.</p>
<p><a href="README.ja.md">Japanese README</a></p>
<h2 id="table-of-contents">Table of Contents</h2>
<!-- TOC depthFrom:2 depthTo:2 updateOnSave:false -->
<ul>
Expand Down Expand Up @@ -505,106 +500,7 @@ <h2 id="extension-settings">Extension Settings</h2>
</ol>
<p><img src="images/settings.gif" alt="demo"></p>
<h2 id="options">Options</h2>
<ul>
<li>Markdown PDF ver1.0.0 replaced PDF converter with <a href="https://github.com/GoogleChrome/puppeteer">puppeteer</a> instead of <a href="https://github.com/marcbachmann/node-html-pdf">node-html-pdf</a>.</li>
<li>Some options are obsolete, please change</li>
<li>The new option of Markdown PDF ver1.0.0 and the obsolete options are as follows</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align:left">ver1.0.0 (new)</th>
<th style="text-align:left">ver0.x.x (obsolete)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left"><code>markdown-pdf.executablePath</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.scale</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.displayHeaderFooter</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.headerTemplate</code></td>
<td style="text-align:left"><code>markdown-pdf.header.contents</code></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.footerTemplate</code></td>
<td style="text-align:left"><code>markdown-pdf.footer.contents</code></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.printBackground</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.pageRanges</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.width</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.height</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.margin.top</code></td>
<td style="text-align:left"><code>markdown-pdf.border.top</code></td>
</tr>
<tr>
<td style="text-align:left"></td>
<td style="text-align:left"><code>markdown-pdf.header.height</code></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.margin.bottom</code></td>
<td style="text-align:left"><code>markdown-pdf.border.bottom</code></td>
</tr>
<tr>
<td style="text-align:left"></td>
<td style="text-align:left"><code>markdown-pdf.footer.height</code></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.margin.right</code></td>
<td style="text-align:left"><code>markdown-pdf.border.right</code></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.margin.left</code></td>
<td style="text-align:left"><code>markdown-pdf.border.left</code></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.quality</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.clip.x</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.clip.y</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.clip.width</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.clip.height</code></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>markdown-pdf.omitBackground</code></td>
<td style="text-align:left"></td>
</tr>
</tbody>
</table>
<h3 id="option-list">Option list</h3>
<h3 id="list">List</h3>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -745,6 +641,14 @@ <h3 id="option-list">Option list</h3>
<td style="text-align:left"></td>
<td style="text-align:left"><a href="#markdown-pdfomitbackground">markdown-pdf.omitBackground</a></td>
</tr>
<tr>
<td style="text-align:left"><a href="#plantuml-options">PlantUML options</a></td>
<td style="text-align:left"><a href="#markdown-pdfplantumlopenmarker">markdown-pdf.plantumlOpenMarker</a></td>
</tr>
<tr>
<td style="text-align:left"></td>
<td style="text-align:left"><a href="#markdown-pdfplantumlclosemarker">markdown-pdf.plantumlCloseMarker</a></td>
</tr>
</tbody>
</table>
<h3 id="save-options">Save options</h3>
Expand Down Expand Up @@ -1026,6 +930,17 @@ <h4 id="markdown-pdfomitbackground"><code>markdown-pdf.omitBackground</code></h4
<li>Hides default white background and allows capturing screenshots with transparency</li>
<li>boolean. Default: false</li>
</ul>
<h3 id="plantuml-options">PlantUML options</h3>
<h4 id="markdown-pdfplantumlopenmarker"><code>markdown-pdf.plantumlOpenMarker</code></h4>
<ul>
<li>Oppening delimiter used for the plantuml parser.</li>
<li>Default: @startuml</li>
</ul>
<h4 id="markdown-pdfplantumlclosemarker"><code>markdown-pdf.plantumlCloseMarker</code></h4>
<ul>
<li>Closing delimiter used for the plantuml parser.</li>
<li>Default: @enduml</li>
</ul>
<div class="page"/>
<h2 id="faq">FAQ</h2>
<h3 id="how-can-i-change-emoji-size">How can I change emoji size ?</h3>
Expand Down Expand Up @@ -1057,42 +972,16 @@ <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="120-20180503">1.2.0 (2018/05/03)</h3>
<ul>
<li>Add: Support <a href="https://github.com/gmunguia/markdown-it-plantuml">markdown-it-plantuml</a>
<h3 id="121-20190923">1.2.1 (2019/09/23)</h3>
<ul>
<li>Support for lightweight diagrams (PlantUML) <a href="https://github.com/yzane/vscode-markdown-pdf/issues/60">#60</a></li>
</ul>
</li>
</ul>
<h3 id="110-20180503">1.1.0 (2018/05/03)</h3>
<ul>
<li>Add: Support <a href="https://github.com/markdown-it/markdown-it-container">markdown-it-container</a> <a href="https://github.com/yzane/vscode-markdown-pdf/issues/72">#72</a></li>
</ul>
<h3 id="105-20180503">1.0.5 (2018/05/03)</h3>
<ul>
<li>Improve: Exception handling</li>
<li>Improve: Chromium install check</li>
<li>Add: Page break
<ul>
<li>Is it possible to insert page breaks? <a href="https://github.com/yzane/vscode-markdown-pdf/issues/25">#25</a></li>
</ul>
</li>
<li>Fix: <a href="https://github.com/yzane/vscode-markdown-pdf/pull/122">fix typo, grammar</a></li>
<li>Add: <a href="https://github.com/yzane/vscode-markdown-pdf/pull/104">Option to specify the plantuml delimiter</a></li>
<li>Update: dependencies packages</li>
<li>Update: README
<ul>
<li>FAQ: Page break</li>
<li>Delete the description of the obsolete options.</li>
</ul>
</li>
<li>Update: markdown-pdf.css
<ul>
<li>Add: Meiryo to font-family</li>
</ul>
</li>
</ul>
<h3 id="104-20180501">1.0.4 (2018/05/01)</h3>
<ul>
<li>Fix: Display error message when downloading Chromium</li>
<li>Improve: Chromium install. Display download progress on status bar</li>
</ul>
<h2 id="license">License</h2>
<p>MIT</p>
Expand All @@ -1112,7 +1001,6 @@ <h2 id="special-thanks">Special thanks</h2>
</ul>
<p>and</p>
<ul>
<li><a href="https://github.com/marcbachmann/node-html-pdf">marcbachmann/node-html-pdf</a></li>
<li><a href="https://github.com/cakebake/markdown-themeable-pdf">cakebake/markdown-themeable-pdf</a></li>
</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 6cd86c0

Please sign in to comment.