Sphinx独自拡張¶
reStructuredTextの埋め込み¶
``` eval_rst
* This is a bulleted list.
* It has two items, the second
item uses two lines.
```
- This is a bulleted list.
- It has two items, the second item uses two lines.
ノート、警告、参照¶
```note
This is note.
```
Note
This is note.
```warning
This is warning.
```
Warning
This is warning.
```seealso
This is seealso
```
See also
This is seealso
TODO¶
```todo
This is todo.
```
Todo
This is todo.
TODOリスト¶
```todolist
```
Todo
This is todo.
(The original entry is located in /home/docs/checkouts/readthedocs.org/user_builds/sphinxcontrib-pandoc-markdown/checkouts/latest/003_sphinx.md, line 61.)
Todo
sphinxcontrib-wavedromにPRを送って、png出力を可能にする
(The original entry is located in /home/docs/checkouts/readthedocs.org/user_builds/sphinxcontrib-pandoc-markdown/checkouts/latest/wavedrom.md, line 43.)
Sphinxの設定¶
TODOを使用するにはconf.pyに以下の記述を追加してください。
extensions += ['sphinx.ext.todo']
todo_include_todos=True
pull-quote、highlights¶
```pull-quote
This is pull-quote
```
This is pull-quote
```highlights
This is highlights
```
This is highlights
epigraph¶
```epigraph
考えるな、感じろ ”Don't think. Feel!”
-- 映画「ドラゴン怒りの鉄拳」より
```
考えるな、感じろ ”Don’t think. Feel!”
—映画「ドラゴン怒りの鉄拳」より