diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2016-10-30 13:20:25 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2016-10-30 13:20:25 +0100 |
commit | 63bdc5d08f81365db15b1d9ae11c1d6af72ae35e (patch) | |
tree | 9bec9e51f597ba285d30fae303eb65c7053339e8 /src/Text/Pandoc/Readers/Org/ExportSettings.hs | |
parent | d5182778c45704b0a2d5d283a7fca5104588af81 (diff) | |
download | pandoc-63bdc5d08f81365db15b1d9ae11c1d6af72ae35e.tar.gz |
Org reader: support the `todo` export option
The `todo` export option allows to toggle the inclusion of TODO keywords
in the output. Setting this to `nil` causes TODO keywords to be dropped
from headlines. The default is to include the keywords.
Diffstat (limited to 'src/Text/Pandoc/Readers/Org/ExportSettings.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/Org/ExportSettings.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org/ExportSettings.hs b/src/Text/Pandoc/Readers/Org/ExportSettings.hs index 283cfa998..764e5b0d5 100644 --- a/src/Text/Pandoc/Readers/Org/ExportSettings.hs +++ b/src/Text/Pandoc/Readers/Org/ExportSettings.hs @@ -77,7 +77,7 @@ exportSetting = choice , ignoredSetting "timestamp" , ignoredSetting "title" , ignoredSetting "toc" - , ignoredSetting "todo" + , booleanSetting "todo" (\val es -> es { exportWithTodoKeywords = val }) , ignoredSetting "|" ] <?> "export setting" |