コードを見やすく載せる
この記事のポイント
- 「```」で囲む
- プレビューで確認
- HTMLをコピー
MarkdownをHTMLに では、「」で囲んだ部分が、コードとして表示されます。
手順
- 「」で囲む
- プレビューで確認
- HTMLをコピー
コードの中のタグは、そのまま文字で表示されます。
MarkdownをHTMLに変換するを使う(無料)
あわせて使えるツール
- 文字数カウント(エントリーシート・レポート用):文章の文字数・行数・原稿用紙の枚数などを数えます。
- 文章の改行を消す・整える:PDFなどからコピーした文章の改行を整えます。
- 2つの文章の違いを調べる:2つの文章の違いを、行ごとに色つきで示します。
同じツールの、ほかの解説
Showing Code Neatly
Key points
- Wrap it in "```"
- Check the preview
- Copy the HTML
In Markdown to HTML, text wrapped in "" is shown as code.
Steps
- Wrap it in ""
- Check the preview
- Copy the HTML
Tags inside code are shown as plain text.
Use "Convert Markdown to HTML" (free)
Tools that go well with this
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.
- Compare Two Texts (Diff): Show the differences between two texts line by line.