summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Improved support for columns in HTML.John MacFarlane2017-11-02
| | | | | | | | | | * Move as much as possible to the CSS in the template. * Ensure that all the HTML-based templates (including epub) contain the CSS for columns. * Columns default to 50% width unless they are given a width attribute. Closes #4028.
* Support `lineAnchors` (or `line-anchors`) in code blocks, for HTML.John MacFarlane2017-11-02
|
* Use latest skylighting; ensure no duplicate ids on code lines.John MacFarlane2017-11-02
| | | | | | | | The line identifiers are built using the code block's identifier as a prefix. If the code block has null identifier, we use "cb1", "cb2", etc. Closes #4031.
* Fixed revealjs slide column width issues.John MacFarlane2017-11-02
| | | | | | | | | * Remove "width" attribute which is not allowed on div. * Remove space between `<div class="column">` elements, since this prevents columns whose widths sum to 100% (the space takes up space). Closes #4028.
* hlintAlexander Krotov2017-11-02
|
* SelfContained: use base64 for css links with media attribute.John MacFarlane2017-11-01
| | | | This fixes `--self-contained` with s5. Closes #4026.
* Really fix #3989.John MacFarlane2017-11-01
| | | | | The previous fix only worked in certain cases. Other cases with `>` in an HTML attribute broke.
* hlintAlexander Krotov2017-11-01
|
* FB2 writer: Add "unrecognised" genre to <title-info>Alexander Krotov2017-11-01
| | | | XML schema requires at least one genre.
* FB2 writer: remove <annotation> from <body>Alexander Krotov2017-11-01
| | | | | | <annotation> is not allowed inside <body> according to FictionBook2 XML schema. Besides that, the same information is already placed inside <description>. Related bug: #2424
* Merge pull request #4009 from mb21/html-class-namesJohn MacFarlane2017-11-01
|\ | | | | HTML Writer: consistently use dashed class-names
| * HTML Writer: consistently use dashed class-namesmb212017-10-31
| | | | | | | | see #3556
* | Merge pull request #4008 from labdsf/fb2-bulletsJohn MacFarlane2017-11-01
|\ \ | | | | | | FB2 writer: make bullet lists consistent with ordered lists
| * | FB2 writer: make bullet lists consistent with ordered listsAlexander Krotov2017-10-31
| |/ | | | | | | | | | | | | | | | | Previously bullet lists interacted in odd way with ordered lists. For example, bullet lists nested in ordered list had incorrect indentation. Besides that, indentation with spaces is not rendered by FBReader and fbless. To avoid this problem, bullet lists are indented by appending bullets to marker just the same way it is done for ordered lists.
* | Properly pass through author metadata in JATS writer.John MacFarlane2017-10-31
| | | | | | | | Closes #4020.
* | Fixed regression in parsing of HTML comments in markdown...John MacFarlane2017-10-31
| | | | | | | | | | | | | | | | and other non-HTML formats (`Text.Pandoc.Readers.HTML.htmlTag`). The parser stopped at the first `>` character, even if it wasn't the end of the comment. Closes #4019.
* | Merge pull request #4018 from swilde/creole-fixesJohn MacFarlane2017-11-01
|\ \ | | | | | | Creole Reader: fix lists with triling white space
| * | Creole reader: fixed some minor typos and formatting.Sascha Wilde2017-10-31
| | |
| * | Creole reader: fixed lists with trailing white space.Sascha Wilde2017-10-31
| | |
* | | Add Millimeter constructor to Dimension in ImageSize.John MacFarlane2017-10-31
| | | | | | | | | | | | | | | | | | | | | | | | Minor API change. Now sizes given in 'mm' are no longer converted to 'cm'. Closes #4012.
* | | LaTeX reader: handle `%` comment right after command.John MacFarlane2017-10-31
| | | | | | | | | | | | | | | | | | | | | For example \emph% {hi}
* | | LaTeX/Beamer writer: support "blocks" inside columns and other Divs.John MacFarlane2017-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example: ``` <div class="columns"> <div class="column" width="40%"> - Item </div> <div class="column" width="60%"> - Item </div> </div> ``` Closes #4016.
* | | Markdown reader: make sure fenced div closers work in lists.John MacFarlane2017-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the following failed: ::: {.class} 1. one 2. two ::: and you needed a blank line before the closing `:::`.
* | | Make `fenced_divs` affect the Markdown writer.John MacFarlane2017-10-31
|/ / | | | | | | If `fenced_divs` is enabled, fenced divs will be used.
* / FB2 writer: write blocks outside of <p> in definitionsAlexander Krotov2017-10-31
|/
* EPUB writer: fixed filepaths for nonstandard epub-subdirectory values.John MacFarlane2017-10-30
|
* EPUB writer fixes:John MacFarlane2017-10-30
| | | | | | | | | | | - Ensure that epub2 is recognized as a non-text format, so that a template is used. - Don't include "prefix" attribute for ibooks for epub2. It doesn't validate. - Fix stylesheet paths; previously we had an incorrect stylesheet path for the cover page and nav page.
* LaTeX reader: insert space when needed in macro expansion.John MacFarlane2017-10-30
| | | | | | | Sometimes we need to insert a space after a control sequence to prevent it merging with a following letter. Closes #4007.
* Allow unbraced arguments for macros.John MacFarlane2017-10-30
| | | | See #4007.
* Allow body of macro definition to be unbraced.John MacFarlane2017-10-30
| | | | | | | | e.g. \newcommand\arrow\to See #4007.
* Fixed warnings.John MacFarlane2017-10-29
|
* Export all of Text.Pandoc.Class from Text.Pandoc.John MacFarlane2017-10-29
|
* Removed useless notes state in DokuWiki writer.John MacFarlane2017-10-29
|
* Source code reformatting.John MacFarlane2017-10-29
|
* hlint suggestions.John MacFarlane2017-10-29
|
* More hlint.John MacFarlane2017-10-29
|
* Small reformat.John MacFarlane2017-10-29
|
* Use uncurry.John MacFarlane2017-10-29
|
* More hlint fixes.John MacFarlane2017-10-29
|
* Write FB2 lists without nesting blocks inside <p> (#4004)Alexander2017-10-29
| | | | | | | | | | | | According to FB2 XML schema <empty-line /> cannot be placed inside <p>. Linux FBReader can't display such paragraphs, e.g. any "loose" lists produced by pandoc prior to this commit. Besides that, FB2 writer placed <p> inside <p> when writing nested lists, this commit fixes the bug. Also this commit removes leading non-breaking space from ordered lists for consistency with bullet lists. Definition lists are not affected at all.
* Fix warning for older GHC versions.John MacFarlane2017-10-28
|
* Try to fix imports for older ghc.John MacFarlane2017-10-28
|
* Change order of imports to satisfy older ghc.John MacFarlane2017-10-28
|
* hlint suggestions.John MacFarlane2017-10-27
|
* Don't rely on syb when we don't need to.John MacFarlane2017-10-27
|
* hlint changes.John MacFarlane2017-10-27
|
* hlint suggestions.John MacFarlane2017-10-27
|
* hlint suggestions.John MacFarlane2017-10-27
|
* hlint suggestions.John MacFarlane2017-10-27
|
* Automatic reformating by stylish-haskell.John MacFarlane2017-10-27
|