tasklite-core-0.5.0.0: CLI task / todo list manager with SQLite backend
Safe HaskellNone
LanguageGHC2021

ImportExport

Description

Functions to import and export tasks

Synopsis

Documentation

editUntilValidMarkdown :: EditMode -> Connection -> ByteString -> ByteString -> IO (Either ParseException (ImportTask, ByteString)) Source #

Edit task until it's valid Markdown with frontmatter and can be decoded. | Return the the tuple `(task, valid YAML content from frontmatter)`