Last active
May 22, 2016 05:24
-
-
Save orca8/13a60b1fa5eec04aa6d3df224cc26d9e to your computer and use it in GitHub Desktop.
ブログ記事中にコードを埋め込む方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre class="prettyprint"> | |
// 行番号を表示しない場合はpreのclassに"prettyprint"を指定 | |
// コード | |
</pre> | |
<pre class="prettyprint linenums"> | |
// 行番号を表示する場合はpreのclassに"prettyprint linenums"を指定 | |
// コード | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment