Skip to content

Instantly share code, notes, and snippets.

@nutti
Created April 19, 2015 02:57
Show Gist options
  • Save nutti/3d353d69246053118947 to your computer and use it in GitHub Desktop.
Save nutti/3d353d69246053118947 to your computer and use it in GitHub Desktop.
[Qiita] ソースコード挿入時に番号付きリストのカウントアップがリセットされることを防ぐ方法 ref: http://qiita.com/nutti/items/6d01b701d636b6a6b564
1. リスト1
本文1
\```c
#include <stdio.h>
int a = 60;
flota c = 80.0f;
int main()
{
return 0;
}
\```
2. リスト2
本文2
#include <stdio.h>
int a = 60;
flota c = 80.0f;
int main()
{
return 0;
}
<ol><li>リスト1
本文1
\```c
#include <stdio.h>
int a = 60;
flota c = 80.0f;
int main()
{
return 0;
}
\```
</li><li>リスト2
本文2
</li></ol>
(ここに全角文字列を入れる。全角スペース1個でも良い)
<ol><li>リスト1
本文1
\```c
#include <stdio.h>
int a = 60;
flota c = 80.0f;
int main()
{
return 0;
}
\```
</li><li>リスト2
本文2
</li></ol>
#include <stdio.h>
int a = 60;
flota c = 80.0f;
int main()
{
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment