Using Franklin to build static websites in Julia
The Franklin package (see https://franklinjl.org/) provides a very nice framework for generating static websites. It is especially suitable for all kinds of technical blogging. It can render LaTeX and KaTeX math expressions and embed Julia code with live evaluation. The package is easy to use, light, and well documented. To get started with using Franklin, perform the following steps:
- Go into REPL
pkg
mode with]
and type inadd Franklin
. - Then, in normal REPL mode, type in
using Franklin
. - When generating a new website, first, you have to choose the template on which your website will be based. Navigate to https://tlienart.github.io/FranklinTemplates.jl/ and choose one. All of the themes are written in CommonMark and can be adapted according to your needs. The generation phase converts the Markdown into HTML.
Next, open the REPL with julia –project
and issue the newsite
command along with a name for your...