aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Native.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-06-22 13:04:25 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2016-06-23 10:50:46 -0400
commit2b701f9389844e0a4d0a1a77c49e06fc5ae08ef3 (patch)
tree1d09a6706f25323a44c1c76966e7f0898d075720 /src/Text/Pandoc/Readers/Native.hs
parent319a56aefcb58bf2b1f702367205f1df0b88ee5e (diff)
downloadpandoc-2b701f9389844e0a4d0a1a77c49e06fc5ae08ef3.tar.gz
Shared: introduce blocksToInlines function
This is a lossy function for converting `[Block] -> [Inline]`. Its main use, at the moment, is for docx comments, which can contain arbitrary blocks (except for footnotes), but which will be converted to spans. This is, at the moment, pretty useless for everything but the basic `Para` and `Plain` comments. It can be improved, but the docx reader should probably emit a warning if the comment contains more than this.
Diffstat (limited to 'src/Text/Pandoc/Readers/Native.hs')
0 files changed, 0 insertions, 0 deletions