Created
February 28, 2010 08:00
-
-
Save akisute/317478 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
<span style="font-weight:bold; font-size:110%;">■Sphinx を用いて、 reST の文章を Blogger の原稿に変換する</span> | |
<a href="http://atnd.org/events/3015">BPStudy #30</a> にてSphinx講座があったので、早速それを生かしてreSTでBlogger向けの原稿を作ってみることにします。 | |
<span style="font-weight:bold; font-size:110%;">■見出しのテスト</span> | |
Hello world! | |
foo bar | |
改行のテスト | |
段落のテスト | |
それではインラインマークアップのテストをしてみましょう。 <span style="font-weight:bold;">強調</span> 、 <span style="font-weight:bold; color:#cc0000;">強い強調</span> 、 <code>code sample(): print sample</code> 。いかがかな? | |
<a href="http://akisute.com">リンクのテスト</a> リンクの末尾には必ず_を付ける必要があります。 | |
<span style="font-weight:bold; font-size:110%;">■さらにもう一つ見出し</span><ul><li>ul 1</li><li>ul 2</li><li>ul 3 | |
ul 3 continues</li></ul><ol><li>ol 1<ol><li>ol 1-1</li><li>ol 1-2</li></ol></li><li>ol 2 | |
ol 2 continues | |
ol 2 continues again</li><li>ol 3</li></ol>番号リストの後に普通のパラグラフを入れてみるとどうなるか<dl><dt>定義リスト</dt><dd>定義リストをつくるにはインデントを頭に付けるなんか定義リストの作り方がおかしいって怒られた</dd><dt>どうすればいい?</dt><dd>しらんがな | |
どうするもこうするも</dd></dl><pre>/** This is the pre message*/ | |
def pre(self, message): | |
print 'this is the pre message'</pre>だいたいうまくいっているようです。 okay fine. | |
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
======================================================== | |
Sphinx を用いて、 reST の文章を Blogger の原稿に変換する | |
======================================================== | |
`BPStudy #30 <http://atnd.org/events/3015>`_ にてSphinx講座があったので、早速それを生かしてreSTでBlogger向けの原稿を作ってみることにします。 | |
見出しのテスト | |
============== | |
Hello world! | |
foo bar | |
改行のテスト | |
段落のテスト | |
それではインラインマークアップのテストをしてみましょう。 *強調* 、 **強い強調** 、 ``code sample(): print sample`` 。いかがかな? | |
`リンクのテスト <http://akisute.com>`_ リンクの末尾には必ず_を付ける必要があります。 | |
さらにもう一つ見出し | |
==================== | |
* ul 1 | |
* ul 2 | |
* ul 3 | |
ul 3 continues | |
#. ol 1 | |
#. ol 1-1 | |
#. ol 1-2 | |
#. ol 2 | |
ol 2 continues | |
ol 2 continues again | |
#. ol 3 | |
番号リストの後に普通のパラグラフを入れてみるとどうなるか | |
定義リスト | |
定義リストをつくるにはインデントを頭に付ける | |
なんか定義リストの作り方がおかしいって怒られた | |
どうすればいい? | |
しらんがな | |
どうするもこうするも | |
:: | |
/** This is the pre message*/ | |
def pre(self, message): | |
print 'this is the pre message' | |
だいたいうまくいっているようです。 okay fine. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment