Skip to content

Instantly share code, notes, and snippets.

@apraga
Last active August 20, 2018 15:23
Show Gist options
  • Save apraga/2722c78661903c690f404494d7863c62 to your computer and use it in GitHub Desktop.
Save apraga/2722c78661903c690f404494d7863c62 to your computer and use it in GitHub Desktop.
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