aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Data.hs')
-rw-r--r--src/Text/Pandoc/Data.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Data.hs b/src/Text/Pandoc/Data.hs
new file mode 100644
index 000000000..441fa5913
--- /dev/null
+++ b/src/Text/Pandoc/Data.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+module Text.Pandoc.Data (dataFiles) where
+import Data.FileEmbed
+import qualified Data.ByteString as B
+
+dataFiles :: [(FilePath, B.ByteString)]
+dataFiles = $(embedDir "data")