add --mathjax [CONFIG] to inject root-repo/[CONFIG] file,

which is similar to the behavior of --css and --js.
CONFIG is "mathjax.config.js" by default.
This commit is contained in:
Hardy
2014-08-14 18:00:34 -04:00
parent e65a78a5f5
commit ee55b74898
5 changed files with 19 additions and 3 deletions
+4
View File
@@ -110,6 +110,10 @@ module Precious
@mathjax
end
def mathjax_config
@mathjax_config
end
def use_identicon
@page.wiki.user_icons == 'identicon'
end