summaryrefslogtreecommitdiffstats
path: root/src/Zettel/Parse.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-05-28 01:55:47 +0100
committerYann Herklotz <git@yannherklotz.com>2023-05-28 01:55:47 +0100
commit8d1403b13e75b5eda672af64fb52afe5a0b1f633 (patch)
tree819f91586478def7c9ac18b3597f353f2e0591ee /src/Zettel/Parse.hs
parent42edc02d4770b389d500e338a0e3e47bdc4c4de8 (diff)
downloadzk-visual-8d1403b13e75b5eda672af64fb52afe5a0b1f633.tar.gz
zk-visual-8d1403b13e75b5eda672af64fb52afe5a0b1f633.zip
Add entry for bib file in graph
Diffstat (limited to 'src/Zettel/Parse.hs')
-rw-r--r--src/Zettel/Parse.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Zettel/Parse.hs b/src/Zettel/Parse.hs
index 13d8536..3fbb37b 100644
--- a/src/Zettel/Parse.hs
+++ b/src/Zettel/Parse.hs
@@ -153,4 +153,6 @@ parseZettelKasten fl = do
let splitChunks = map (splitIntoChunks "%i.md" False Nothing 15) orgFiles
let chunks = propagateNames . zip names $ map chunkedChunks splitChunks
let pandocList = map (updatePandocAttr . pandocFromChunk) chunks
- return . refreshPandocMeta . ZettelGraph . fromList $ map zettelFromPandoc pandocList
+ return . refreshPandocMeta $ ZettelGraph (fromList $ map zettelFromPandoc pandocList) Nothing
+
+--parseBibliography :: FilePath -> IO [Pandoc]