Display math symbol in Ghost blog (even in Admin Preview)
Created at 2015-11-19T03:32:41.000Z

Setup

  1. Load Mathjax scripts in blog view and admin view templates: [hi-ogawa/hiogawa-blog-ghost (commit:48bc674)]( https://github.com/hi-ogawa/hiogawa-blog-ghost/commit/48bc674a237002ec692409a8cc938477b297b8b6)

  2. Periodically call Mathjax rendering function in admin view: hi-ogawa/hiogawa-blog-ghost (commit:5e9f732)

Examples

  • Display style:

\[1 + 1 = 100\]

  • Inline style: bla bla ... \(x_0 + x_1 = y^{-9}\) ... bla bla...

And these examples are shown in admin preview like this:


References