Created
February 18, 2011 23:37
-
-
Save jessykate/834610 to your computer and use it in GitHub Desktop.
Revisions
-
jessykate revised this gist
Mar 14, 2012 . 2 changed files with 0 additions and 22 deletions.There are no files selected for viewing
File renamed without changes.This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,22 +0,0 @@ -
jessykate revised this gist
Mar 14, 2012 . 1 changed file with 22 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ module Jekyll class MathJaxBlockTag < Liquid::Tag def render(context) '<script type="math/tex; mode=display">' end end class MathJaxInlineTag < Liquid::Tag def render(context) '<script type="math/tex">' end end class MathJaxEndTag < Liquid::Tag def render(context) '</script>' end end end Liquid::Template.register_tag('math', Jekyll::MathJaxBlockTag) Liquid::Template.register_tag('m', Jekyll::MathJaxInlineTag) Liquid::Template.register_tag('endmath', Jekyll::MathJaxEndTag) Liquid::Template.register_tag('em', Jekyll::MathJaxEndTag) -
jessykate renamed this gist
Feb 18, 2011 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ module Jekyll class MathJaxBlockTag < Liquid::Tag def render(context) -
jessykate created this gist
Feb 18, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ module Jekyll class MathJaxBlockTag < Liquid::Tag def render(context) '<script type="math/tex; mode=display">' end end class MathJaxInlineTag < Liquid::Tag def render(context) '<script type="math/tex">' end end class MathJaxEndTag < Liquid::Tag def render(context) '</script>' end end end Liquid::Template.register_tag('math', Jekyll::MathJaxBlockTag) Liquid::Template.register_tag('m', Jekyll::MathJaxInlineTag) Liquid::Template.register_tag('endmath', Jekyll::MathJaxEndTag) Liquid::Template.register_tag('em', Jekyll::MathJaxEndTag)