diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-12-26 17:07:47 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-12-26 17:07:47 +0000 |
commit | a84e7039f5554a6b8cb13a2944ec3bf1d62e26a6 (patch) | |
tree | f063f760ef0940bbc60bc8829ed276ca841ade85 /src/Zettel.hs | |
parent | f19bc4e0cc33841d16f6d965f3b5df748aab163b (diff) | |
download | zk-visual-a84e7039f5554a6b8cb13a2944ec3bf1d62e26a6.tar.gz zk-visual-a84e7039f5554a6b8cb13a2944ec3bf1d62e26a6.zip |
Diffstat (limited to 'src/Zettel.hs')
-rw-r--r-- | src/Zettel.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Zettel.hs b/src/Zettel.hs index 5c07af9..a576143 100644 --- a/src/Zettel.hs +++ b/src/Zettel.hs @@ -1,5 +1,12 @@ module Zettel where +import Text.Pandoc.Class (runIOorExplode) +import Text.Pandoc.Definition (Block (..), Inline (..), Pandoc (..)) +import Text.Pandoc.Readers (readOrg) +import Text.Pandoc.Writers (writeHtml5String, writeMarkdown) +import Text.Pandoc.Shared (stringify) +import Text.Pandoc.Walk (walkM) + newtype ZettelId = ZettelId { -- | The ZettelId is just Text, however, it should also be possible to convert -- it to a list of the ID split up into it's parts. |