aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Org/DocumentTree.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-06-03Improve code style in lua and org modulesAlbert Krewinkel1-3/+3
2017-06-03Org reader: apply hlint suggestionsAlbert Krewinkel1-13/+12
2017-05-31Org reader: respect export option for tagsAlbert Krewinkel1-1/+5
Tags are appended to headlines by default, but will be omitted when the `tags` export option is set to nil. Closes: #3713
2017-05-31Org reader: include tags in headlinesAlbert Krewinkel1-6/+16
The Emacs default is to include tags in the headline when exporting. Instead of just empty spans, which contain the tag name as attribute, tags are rendered as small caps and wrapped in those spans. Non-breaking spaces serve as separators for multiple tags.
2017-05-27Org reader: subject full doc tree to headline transformationsAlbert Krewinkel1-1/+32
Emacs parses org documents into a tree structure, which is then post-processed during exporting. The reader is changed to do the same, turning the document into a single tree of headlines starting at levelĀ 0. Fixes: #3695
2017-05-16Org reader: replace `sequence . map` with `mapM`Albert Krewinkel1-2/+2
2017-05-16Org reader: put tree parsing code into dedicated moduleAlbert Krewinkel1-0/+260