2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VScodeとMarkdown PDFでファイル出力する時に便利な設定

Last updated at Posted at 2019-03-22

この記事ではVisualStudioCodeでのアドインMarkdownPDF。
もしくはTyporaを使用しています。

概要

マークダウン記法で作成したファイルを他の人に配布する場合、PDFに変換をすることが多々あります。そんな時、画像が大きくて意図していない場所で改行されてしまい見にくくなってしまうことがあります。
そんな時は手動で改行させてしまうという記事です。

PDFファイル出力時

改ページさせたい場合

とても簡単で、改行させたい場所に下記コードを追加するだけで改ページしてくれます。


<div style="page-break-before:always"></div>

htmlファイル出力時

ページ内リンクさせたい時

[ボタン①について](#ボタン①説明)

<a name="ボタン①説明"></a>
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?