Skip to content

Commit

Permalink
Merge branch 'release/1.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
yzane committed May 3, 2018
2 parents 464d0ee + f61068d commit 7d74363
Show file tree
Hide file tree
Showing 10 changed files with 518 additions and 378 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 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)
* 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
Expand Down
30 changes: 27 additions & 3 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

<!-- /TOC -->

<div class="page"/>

## 機能

以下の機能をサポートしています。
Expand All @@ -47,6 +49,7 @@ Markdown PDF をインストールして、Visutal Studio Code で Markdownフ

ダウンロードが上手くいかない場合や、Markdown PDF のバージョンアップの度にダウンロードするのを避けたい場合、[markdown-pdf.executablePath](#markdown-pdfexecutablepath) オプションでインストール済みの [Chrome](https://www.google.co.jp/chrome/) か Chromium を指定してください。

<div class="page"/>

## 使い方

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

<div class="page"/>

## FAQ

Expand All @@ -450,15 +454,15 @@ Markdown PDF をインストールして、Visutal Studio Code で Markdownフ
}
```

### Tip: 文字コードの自動判定
### 文字コードの自動判定

Visual Studio Code の `files.autoGuessEncoding` オプションを使うと、文字コードが自動判定されるので便利です。

```javascript
"files.autoGuessEncoding": true,
```

### Tip: 出力ディレクトリ
### 出力ディレクトリ

常に Markdown ファイルからの相対パスのディレクトリに出力したい場合。

Expand All @@ -469,6 +473,16 @@ Visual Studio Code の `files.autoGuessEncoding` オプションを使うと、
"markdown-pdf.outputDirectoryRelativePathFile": true,
```

### 改ページ

改ページを挿入するには、以下を使用してください。

``` html
<div class="page"/>
```

<div class="page"/>

## 既知の問題

### `markdown-pdf.styles` option
Expand All @@ -477,7 +491,17 @@ Visual Studio Code の `files.autoGuessEncoding` オプションを使うと、

## [Release Notes](CHANGELOG.md)

## 1.0.4 (2018/05/01)
### 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)
* 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

Expand Down
30 changes: 27 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ This extension convert Markdown file to pdf, html, png or jpeg file.

<!-- /TOC -->

<div class="page"/>

## Features

Supports the following features
Expand All @@ -50,6 +52,7 @@ If you are behind a proxy, set the `http.proxy` option to settings.json and rest

If the download is not successful or you want to avoid downloading every time you upgrade Markdown PDF, please specify the installed [Chrome](https://www.google.co.jp/chrome/) or 'Chromium' with [markdown-pdf.executablePath](#markdown-pdfexecutablepath) option.

<div class="page"/>

## Usage

Expand Down Expand Up @@ -443,6 +446,7 @@ 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

<div class="page"/>

## FAQ

Expand All @@ -456,15 +460,15 @@ If the download is not successful or you want to avoid downloading every time yo
}
```

### Tip: Auto guess encoding of files
### Auto guess encoding of files

Using `files.autoGuessEncoding` option of the Visual Studio Code is useful because it automatically guesses the character code. See [files.autoGuessEncoding](https://code.visualstudio.com/updates/v1_11#_auto-guess-encoding-of-files)

```javascript
"files.autoGuessEncoding": true,
```

### Tip: Output directory
### Output directory

If you always want to output to the relative path directory from the Markdown file.

Expand All @@ -475,6 +479,16 @@ For example, to output to the "output" directory in the same directory as the Ma
"markdown-pdf.outputDirectoryRelativePathFile": true,
```

### Page Break

Please use the following to insert a page break.

``` html
<div class="page"/>
```

<div class="page"/>

## Known Issues

### `markdown-pdf.styles` option
Expand All @@ -483,7 +497,17 @@ For example, to output to the "output" directory in the same directory as the Ma

## [Release Notes](CHANGELOG.md)

## 1.0.4 (2018/05/01)
### 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)
* 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

Expand Down
Loading

0 comments on commit 7d74363

Please sign in to comment.