aboutsummaryrefslogtreecommitdiffstats
path: root/src/Zettel.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-12-26 17:07:47 +0000
committerYann Herklotz <git@yannherklotz.com>2022-12-26 17:07:47 +0000
commita84e7039f5554a6b8cb13a2944ec3bf1d62e26a6 (patch)
treef063f760ef0940bbc60bc8829ed276ca841ade85 /src/Zettel.hs
parentf19bc4e0cc33841d16f6d965f3b5df748aab163b (diff)
downloadzk-visual-a84e7039f5554a6b8cb13a2944ec3bf1d62e26a6.tar.gz
zk-visual-a84e7039f5554a6b8cb13a2944ec3bf1d62e26a6.zip
Add new changesHEADmaster
Diffstat (limited to 'src/Zettel.hs')
-rw-r--r--src/Zettel.hs7
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.