Literate Haskell

by James Jensen
5
4
3
2
1
Score: 32/100

Description

Category: Coding & Technical Tools

The Literate Haskell plugin enhances the integration of Haskell's native literate programming capabilities within Obsidian. It allows .lhs files to function like markdown files while supporting Haskell code blocks. This plugin simplifies the workflow by hiding the required \begin{code} and \end{code} delimiters in Haskell blocks, ensuring a cleaner and more readable code presentation. It is ideal for users who want to include runnable Haskell code within their notes while maintaining a seamless writing and coding experience.

Reviews

No reviews yet.

Stats

5
stars
3,541
downloads
0
forks
1,369
days
1,386
days
1,386
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
1
total issues
1
open issues
0
closed issues
0
commits

Latest Version

4 years ago

Changelog

.lhs, not .lcs

README file from

Github

Obsidian Literate Haskell Plugin

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 .lhs files like markdown
  • Hiding the \begin{code} and \end{code} in .haskell blocks in .lhs files