Skip to content

Rafailong/blog

Repository files navigation

blog

personal web blog based on Docusaurus.

scala content

leveraging mdoc to generate scala content.

  • scala content lives in src_scala directory
  • use mdoc_build.sh to build/generate a given blog post ./mdoc_build.sh my_scala_blog.md
  • use mdoc_watch as a develop tool while wrating a scala blog post ./mdoc_watch.sh my_scala_blog.md

mdoc_build.sh and mdoc_watch.sh leverage mdoc through coursier

haskell

  • haskell content lives in src_haskell directory
  • every haskell blog post should be a literate haskell file
  • use lhs_build.sh tp build/generate a single blog post (from lhs to md) ./lhs_build.sh my-haskell-post (w/o file extension)

lhs_build.sh leverages pandoc as a cli tool.