MathJaxで数式描画
Created in: 2014-02-07 Author: iray_tno Category: Science Tags: Computer_a, Ruby_a, Nanoc_a, MathJax_a, Redcarpet_a
はじめに
MathJaxを使ってtex形式で書いた数式を表示できるようにしました。
通常はhtmlに数行追加するだけで使えるようになります。
ただ、markdownでも数式を書けるようにするためには、レンダラの定義が必要だったのでメモしておきます。
- nanoc(http://nanoc.ws)
- Redcarpet(https://github.com/vmg/redcarpet)
- MathJax(http://www.mathjax.org)