summaryrefslogtreecommitdiff
path: root/provider/posts/tex-support.md
diff options
context:
space:
mode:
Diffstat (limited to 'provider/posts/tex-support.md')
-rw-r--r--provider/posts/tex-support.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/provider/posts/tex-support.md b/provider/posts/tex-support.md
index 0beade1..7f43eb6 100644
--- a/provider/posts/tex-support.md
+++ b/provider/posts/tex-support.md
@@ -29,7 +29,7 @@ $\text{tan}(\phi) = \frac{\text{sin}(\phi)}{\text{cos}(\phi)}$
29 29
30Theorem environments are written using [pandoc](http://pandoc.org)s support for block environments: 30Theorem environments are written using [pandoc](http://pandoc.org)s support for block environments:
31 31
32~~~ {.markdown .numberLines} 32~~~ {.markdown}
33<div class="theorem"> 33<div class="theorem">
34 34
35Formulae are rendered with $\text{\LaTeX}$ and included as [SVG](https://en.wikipedia.org/wiki/SVG). 35Formulae are rendered with $\text{\LaTeX}$ and included as [SVG](https://en.wikipedia.org/wiki/SVG).
@@ -56,7 +56,7 @@ $\text{\LaTeX}$ support is, however, lacking as I opted not to patch pandoc ([ma
56The actual compilation happens in a new module I named `Math.hs`. We´ll start there. 56The actual compilation happens in a new module I named `Math.hs`. We´ll start there.
57For your reading pleasure I added some comments to the reproduction below. 57For your reading pleasure I added some comments to the reproduction below.
58 58
59~~~ {.haskell .numberLines} 59~~~ {.haskell}
60module Math 60module Math
61 ( compileMath 61 ( compileMath
62 ) where 62 ) where
@@ -138,7 +138,7 @@ extractAlignment = fromMaybe "0pt" . extract . (=~ "depth=([^\\s]+)") -- One of
138 138
139The more trick part proved to be integration into the framework as provided by [Hakyll](http://jaspervdj.be/hakyll/). 139The more trick part proved to be integration into the framework as provided by [Hakyll](http://jaspervdj.be/hakyll/).
140 140
141~~~ {.haskell .numberLines} 141~~~ {.haskell}
142 142
143 143
144import qualified Crypto.Hash.SHA256 as SHA256 (hash) 144import qualified Crypto.Hash.SHA256 as SHA256 (hash)