Haskell provides native literate programming support,
allowing haskell code within .lhs text files to act like ordinary .hs files.
This seems like a good way to include runnable haskell code in Obsidian,
but in order to mark a block of text as haskell code,
you need to surround it with
\begin{code}
...
\end{code}
which you probably don't want literring your code blocks. This plugin provides literate haskell support by doing the following
- Treating
.lhsfiles like markdown - Hiding the
\begin{code}and\end{code}in.haskellblocks in.lhsfiles