Age | Commit message (Collapse) | Author | Files | Lines |
|
TODO:
* Document in README
* Add tests
* Add template (and add template to cabal file)
|
|
The _note attribute is supported. This is unofficial, but
used e.g. in OmniOutliner and supported by multimarkdown.
We treat the contents as markdown blocks under a section
header.
Added to documentation and tests.
|
|
Also made `--number-offset` affect TOC numbering as well
as section numbering, as it should have all along.
Closes #789.
|
|
* Moved code for translating listings language names to
highlighting-kate names and back from LaTeX reader to Highlighting.
* Text.Pandoc.Highlighting no longer exposed (API change)
* Text.Pandoc.Highlighting exports toListingsLang, fromListingsLang
|
|
Also `writerNumberFrom` -> `writeNumberOffset`.
The offset is a list of numbers (0 by default).
These are added to the section, subsection, etc.
numbers that would have been generated automatically.
|
|
|
|
These still aren't hooked up to anything in the writers.
|
|
Print default user data directory.
Put language names in lowercase and omit 'alert' and 'alert_indent'.
|
|
Print default user data directory.
Put language names in lowercase and omit 'alert' and 'alert_indent'.
|
|
Note: Currently this only affects the markdown reader.
|
|
|
|
* RTF writer: Export writeRTFWithEmbeddedImages instead of
rtfEmbedImage.
* Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF.
* Moved code for embedding images in RTF out of pandoc.hs.
|
|
The previous default was to use `<q>` tags in HTML5.
But `<q>` tags are also valid HTML4, and they are not very
robust in HTML5. Some user agents don't support them,
and some CSS resets prevent pandoc's quotes CSS from working
properly (e.g. bootstrap). It seems a better default just
to insert quote characters, but the option is provided for
those who have gotten used to using `<q>` tags.
|
|
It should be the URL up to the path.
|
|
And added markdown_phpextra input/output format.
|
|
|
|
Also writerEpubTOCLevel -> writerTOCLevel.
So far this is only implemented in the EPUB writer.
|
|
|
|
API change for consistency.
|
|
Also added writerEpubChapterLevel and writerEpubTOCLevel fields
to WriterOptions.
|
|
Users who want pure readers can still get them; this just affects
the function getReader that looks up a reader based on the format
name.
The point of this change is to make it possible to print warnings
from the parser.
|
|
|
|
* Added `embed_data_files` flag. (not yet used)
* Shared no longer exports `findDataFile`.
* `readDataFile` now returns a strict bytestring.
* Shared now exports `readDataFileUTF8` which returns a string like
the old `readDataFile`.
* Rewrote modules to use new data file functions and to avoid
using functions from Paths_pandoc directly.
|
|
* Remove executable and library flags.
* Expose `Text.Pandoc.XML` and `Text.Pandoc.Biblio`.
* Depend on pandoc library in executable, so we don't recompile
everything.
* Move pandoc.hs from src/ to .
|