diff options
Diffstat (limited to 'provider/posts/tex-support.md')
-rw-r--r-- | provider/posts/tex-support.md | 6 |
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 | ||
30 | Theorem environments are written using [pandoc](http://pandoc.org)s support for block environments: | 30 | Theorem 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 | ||
35 | Formulae are rendered with $\text{\LaTeX}$ and included as [SVG](https://en.wikipedia.org/wiki/SVG). | 35 | Formulae 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 | |||
56 | The actual compilation happens in a new module I named `Math.hs`. We´ll start there. | 56 | The actual compilation happens in a new module I named `Math.hs`. We´ll start there. |
57 | For your reading pleasure I added some comments to the reproduction below. | 57 | For your reading pleasure I added some comments to the reproduction below. |
58 | 58 | ||
59 | ~~~ {.haskell .numberLines} | 59 | ~~~ {.haskell} |
60 | module Math | 60 | module Math |
61 | ( compileMath | 61 | ( compileMath |
62 | ) where | 62 | ) where |
@@ -138,7 +138,7 @@ extractAlignment = fromMaybe "0pt" . extract . (=~ "depth=([^\\s]+)") -- One of | |||
138 | 138 | ||
139 | The more trick part proved to be integration into the framework as provided by [Hakyll](http://jaspervdj.be/hakyll/). | 139 | The 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 | ||
144 | import qualified Crypto.Hash.SHA256 as SHA256 (hash) | 144 | import qualified Crypto.Hash.SHA256 as SHA256 (hash) |