diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-10-26 18:32:11 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-10-27 12:50:51 -0700 |
commit | 26a8de684ea8ec2ed0e2edebda78a8673c2c62d8 (patch) | |
tree | 4277653ff1abaa6d5900aaa905f04468cc6c36b6 /src/Text/Pandoc/Asciify.hs | |
parent | d226a35c0ac6485c75f083ce3b25ada1d623f45f (diff) | |
download | pandoc-26a8de684ea8ec2ed0e2edebda78a8673c2c62d8.tar.gz |
Change JSON encodings of some types.
- For LineEnding use lowercase constructors, e.g. `crlf`, `native`.
This was the original intent, but there was a bug in the
implementation.
- For HTMLSlideVariant use lowercase constructors.
- For ReaderOptions use e.g. `default-image-extension`
instead of `readerDefaultImageExtension` for field names.
- For Extension, use e.g. `tex_math_dollars` instead of
`Ext_tex_math_dollars` as constructor.
- For Extensions, use an array of Extensions, instead of
an object wrapping the tag `Extensions` and an integer.
(The representation is not supposed to be part of the
public API.)
- For Opt, use field names like `tab-stop` instead of `optTabStop`.
Diffstat (limited to 'src/Text/Pandoc/Asciify.hs')
0 files changed, 0 insertions, 0 deletions