| Commit message (Collapse) | Author | Age |
|
|
|
| |
Closes #3036.
|
|
|
|
| |
Closes #3037.
|
|
|
|
|
| |
Also, remove trailing newline in code blocks (consistently
with Markdown reader).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attributes can't be followed by a space.
So,
_(class)emph_
but
_(noclass) emph_
Closes #2984.
|
|
|
|
| |
Closes #2674.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The reader previously did allow this, following redcloth,
which happily parses
Html blocks can be <div>inlined</div> as well.
as
<p>Html blocks can be <div>inlined</div> as well.</p>
This is invalid HTML, and this kind of thing can lead
to parsing problems (stack overflows) as well. So this
commit undoes this behavior. The above sample now produces;
<p>Html blocks can be</p>
<div>
<p>inlined</p>
</div>
<p>as well.</p>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mb21-new-image-attributes
* Bumped version to 1.16.
* Added Attr field to Link and Image.
* Added `common_link_attributes` extension.
* Updated readers for link attributes.
* Updated writers for link attributes.
* Updated tests
* Updated stack.yaml to build against unreleased versions of
pandoc-types and texmath.
* Fixed various compiler warnings.
Closes #261.
TODO:
* Relative (percentage) image widths in docx writer.
* ODT/OpenDocument writer (untested, same issue about percentage widths).
* Update pandoc-citeproc.
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
| |
Closes #2480.
Note that although smart punctuation is part of the textile
spec, it's not always wanted when converting from textile
to, say, Markdown. So it seems better to make this an option.
|
|
|
|
|
|
| |
Enable `raw_tex` extension in textile writer.
Closes #1532.
|
|
|
|
|
|
|
|
| |
Closes #1513.
Lists can now start without an intervening blank line.
Also, html block-level tags that don't start a line are parsed
as RawInline and don't interrupt paragraphs, as in RedCloth.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Instead of being ignored, attributes are now parsed and
included in Span inlines.
The output will be a bit different from stock textile:
e.g. for `*(foo)hi*`, we'll get `<em><span class="foo">hi</span></em>`
instead of `<em class="foo">hi</em>`. But at least the data is
not lost.
|
|
|
|
| |
Closes #1115.
|
|
|
|
|
|
| |
Previously normalisation was handled by the `normalizeSpaces` function. The behavoir of the builder monoid is slightly different and melds together more items such as consecutive strings and spaces adjacent to line breaks. The tests have been changed to reflect this.
All relevant tests passed when the string melding line of the builder monoid was commented out.
|
|
|
|
|
|
|
| |
This produces automatic header identifiers, unless `auto_identifiers`
extension is disabled.
Closes #967.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Closed #927 (a bug in which `<pre>` in certain contexts was
not recognized as a code block).
* Remove internal HTML tags in code blocks, rather than printing
them verbatim.
* Parse attributes on `<pre>` tag for code blocks.
|
| |
|
| |
|
|
|
|
| |
Includes `[lang]`, `(class #id)`, `{color:red}` styles.
|
|
|
|
|
|
|
|
|
|
| |
Previously header ids were autogenerated by the writers.
Now they are generated (unless supplied explicitly) in the
markdown parser, if the `header_identifiers` extension is
selected.
In addition, the textile reader now supports id attributes on
headers.
|
|
|
|
|
|
|
|
|
| |
Previously the textile reader and writer incorrectly implented
RST-style autolinks for URLs and email addresses.
This has been fixed. Now an autolink is done this way:
"$":http://myurl.com
|
|
|
|
|
|
| |
Now pandoc correctly handles hard line breaks inside list items.
Previously they broke list parsing. Thanks to Pablo
Rodríguez for pointing out the problem.
|
| |
|
|
|
|
|
|
|
| |
This affected notes occuring before punctuation, e.g.
`foo[1].`.
Closes #518.
|
| |
|
|
|
|
|
|
|
| |
Square brackets need to be used when the link isn't surrounded by
spaces or punctuation, or when the URL ending may be ambiguous.
Closes #564.
|
|
|
|
| |
Closes #517.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Additional related changes:
* URLs in Code in autolinks now use class "url".
* Require highlighting-kate 0.2.8.2, which omits the final <br/> tag,
essential for inline code.
|
|
|
|
|
|
|
| |
The old TeX, HtmlInline and RawHtml elements have been removed
and replaced by generic RawInline and RawBlock elements.
All modules updated to use the new raw elements.
|
|
|
|
|
| |
The problem was a missing 'try' in the maybeExplicitBlock parser.
Test case, a paragraph beginning with 'p', has been added.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We now parse PBS(Public Broadcasting System) as if it were
"PBS (Public Broadcasting System)".
|
| |
|
|
|
|
|
| |
+ Parameterized smartPunctuation on an inline parser.
+ Handle smartPunctuation in Textile reader.
|
| |
|
| |
|
|
|
|
| |
This is consistent with how the other readers work.
|