Last active
August 20, 2018 15:23
-
-
Save apraga/2722c78661903c690f404494d7863c62 to your computer and use it in GitHub Desktop.
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 characters
main :: IO () | |
main = hakyll $ do | |
match "notes/*.md" $ do | |
route $ setExtension "tex" | |
compile $ pandocCompiler | |
>>= loadAndApplyTemplate "templates/latex.tex" defaultContext | |
>>= relativizeUrls | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment