+++ date = "2022-08-01T22:34:33+00:00" lastmod = "2022-08-01T22:34:33+00:00" tags = [ "programs"] author = "tdro" +++ Check out this [really nice approach to rendering](https://github.com/gohugoio/hugo/issues/10044#issuecomment-1174878418) fully static [LaTeX](https://www.latex-project.org/) with [`hugo`](https://gohugo.io/) by caching remote fetches from [a quick and simple KaTeX API](https://github.com/ianmuchina/katex-api-test/blob/72a39e1f54d6baae0caa669cfe8ddd35c94ddf2d/main.ts#L1). Really clever --- glad to see that [someone](https://ianmuchina.com/) tried it. [Custom output formats](https://gohugo.io/templates/output-formats/) and [remote fetching](https://gohugo.io/hugo-pipes/introduction/#get-resource-with-resourcesget-and-resourcesgetremote) at compile time are two very important features. If you're not familiar with [`deno`](https://deno.land/), try out the {{< abbr api "application programming interface" >}} with the command `deno run`. ```shell $ deno run --allow-net main.ts Listening on http://localhost:8000 ```