Age | Commit message (Collapse) | Author | Files | Lines |
|
This fixes a potential security issue. Because single quotes weren't
being escaped in the link portion, a specially crafted email address
could allow javascript code injection.
[Jim'+alert('hi')+'OBrien](mailto:me@example.com)
Closes #2280.
|
|
|
|
Instead, just use an a element with class `footnoteRef`.
This allows more styling options, and provides better results
in some readers (e.g. iBooks, where anything inside the a
tag breaks popup footnotes).
Closes #1995.
|
|
|
|
This closes #1394, which actually wasn't fixed by the earlier commit.
This ensures that lists in speaker notes don't add "fragment" classes,
which can cause additional keypresses to be needed to advance a slide.
|
|
Closes #1938.
|
|
This change improves output formatting of content with a large amount of force line breaks, such as line-blocks. The following writers are affected:
* Dokuwiki
* HTML
* EPUB (via HTML)
* LaTeX
* MediaWiki
* OpenDocument
* Texinfo
This commit resolves #1924
|
|
This allows inline and display math to be styled differently.
Closes #1914.
|
|
|
|
Fixes #1131
|
|
Should be "decimal," not "example." Closes #1902.
|
|
See https://github.com/jgm/pandoc/pull/1888#issuecomment-70470409
|
|
|
|
Closes #1719
|
|
Previously they only appeared on top level header elements.
Now they work e.g. in blockquotes.
Closes #1711.
|
|
Closes #1625
|
|
Closes #1626
|
|
Closes #1635
|
|
This allows them to be styled specially.
Closes #1501.
|
|
Previously creating a slide with a horizontal rule would result
in an empty list item in the TOC. This patch fixes that.
|
|
|
|
Also removed deprecated readTeXMath.
|
|
|
|
Closes #1394.
|
|
|
|
Previously image links with queries were not recognized,
leading to use of an embed tag rather than an img tag.
|
|
Also affects EPUB writer.
Closes #877.
|
|
Unnumbered section headings (with class 'unnumbered') were getting
numbers. This commit fixes the bug.
|
|
Otherwise we get doubled footnotes when headers have notes!
|
|
Closes #1081.
|
|
Replace uses of `maybe x id` with `fromMaybe x`.
|
|
Remove parens enclosing a single element.
|
|
|
|
This allows better control of formatting, since the `<a>`
tags have a distinguishing class.
Closes #1049.
|
|
Deprecate readTeXMath, and use readTeXMath' in all the writers.
Require texmath >= 0.6.5.
|
|
The old version caused a pause to be inserted before the first
material on a slide. This has been fixed.
|
|
Currently beamer goes to `\note{}`, revealjs to `<aside class="notes">`,
and the notes are simply suppressed in other formats.
Closes #925.
|
|
Closes #966.
|
|
Closes #1012. Reopens #966. A better solution for #966 will just
affect slideous, not the other slide writers.
|
|
|
|
|
|
This seems to be needed for some formats (e.g. slideous) and won't
hurt in others.
Closes #966.
|
|
|
|
Currently these are "transparent" containers, except in HTML,
where they produce div and span elements with attributes.
|
|
|
|
* Text.Pandoc.Writers.Shared contains shared functions used
only in writers.
* metaToJSON now takes a WriterOptions parameter, and will
return an empty object if standalone is not specified.
|
|
Previously if you set a value both in metadata and with a variable,
they'd be combined into a list. Now the variable replaces the
value in document metadata. If many variables with the same
name are set, a list is created.
Shared: metaToJSON now has an argument for a variable list.
|
|
This way explicitly specified fields not overridden.
Fixes a problem e.g. with specifying a documentclass via
the command line using -V.
|
|
* Depend on pandoc 1.12.
* Added yaml dependency.
* `Text.Pandoc.XML`: Removed `stripTags`. (API change.)
* `Text.Pandoc.Shared`: Added `metaToJSON`.
This will be used in writers to create a JSON object for use
in the templates from the pandoc metadata.
* Revised readers and writers to use the new Meta type.
* `Text.Pandoc.Options`: Added `Ext_yaml_title_block`.
* Markdown reader: Added support for YAML metadata block.
Note that it must come at the beginning of the document.
* `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`,
`stateAuthors`, `stateDate` with `stateMeta`.
* RST reader: Improved metadata.
Treat initial field list as metadata when standalone specified.
Previously ALL fields "title", "author", "date" in field lists
were treated as metadata, even if not at the beginning.
Use `subtitle` metadata field for subtitle.
* `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string
instead of a compiled template..
* OPML template: Use 'for' loop for authors.
* Org template: '#+TITLE:' is inserted before the title.
Previously the writer did this.
|
|
Currently the library is set up with a shim for association
lists, for compatibility, but this can change when the writers
are changed.
New export: `varListToJSON`.
Removed `Empty`.
Simplified template type to a newtype.
|