aboutsummaryrefslogtreecommitdiff
path: root/test/s5-fancy.html
AgeCommit message (Collapse)Author
2025-11-16HTML writer: use 'defer' when including mathjax script.John MacFarlane
As recommended in the MathJax docs. Closes #11292.
2025-07-29HTML styles: prefix default styles with informative CSS comment (#11002)Albert Krewinkel
Closes #8819
2023-03-29styles.html: fix task-list styling in reveal.jsAlbert Krewinkel
Fixes: #8731
2022-08-22HTML writer: revert to using `width` property for column widthsAlbert Krewinkel
The default `flex` and `overflow-x` properties of a column are set to `auto`. In combination, these changes allow to get good results when using columns with or without explicit widths.
2022-08-03Improve default CSS for task lists.John MacFarlane
This ensures that there is a space between the checkbox and the following content and that subsequent content lines up. Closes #8151. Supersedes and closes #8163.
2022-08-01HTML: use CSS flex boxes for columns.Albert Krewinkel
This allows to render an arbitrary number of columns, while the previous approach assumed exactly two columns.
2022-07-31Fix tests for d2bd9abc4d5e9b6b4a6414fd010cdb5995f32935John MacFarlane
2021-12-22Add text wrapping to HTML output.John MacFarlane
Previously the HTML writer was exceptional in not being sensitive to the `--wrap` option. With this change `--wrap` now works for HTML. The default (as with other formats) is automatic wrapping to 72 columns. A new internal module, T.P.Writers.Blaze, exports `layoutMarkup`. This converts a blaze Html structure into a doclayout Doc Text. In addition, we now add a line break between an `img` tag and the associated `figcaption`. Note: Output is never wrapped in `writeHtmlStringForEPUB`. This accords with previous behavior since previously the HTML writer was insensitive to `--wrap` settings. There's no real need to wrap HTML inside a zipped container. Note that the contents of script, textarea, and pre tags are always laid out with the `flush` combinator, so that unwanted spaces won't be introduced if these occur in an indented context in a template. Closes #7764.
2020-10-10Update s5-fancy.html test with new mathjax URL.John MacFarlane
2019-12-05HTML-based templates: Add CSS to suppress bullet on unordered task lists.John MacFarlane
2019-10-09Update s5 test for mathjax 3 change.John MacFarlane
2019-09-05Add div.hanging-indent CSS to HTML templates.John MacFarlane
2019-09-05Add partial styles.html in HTML5 template.John MacFarlane
Avoid duplication in HTML templates by using styles.html partial. Change indentation of styles in template.
2018-04-25Removed deprecated ancient HTML math methods.John MacFarlane
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`, `--asciimathml` options. Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from `Text.Pandoc.Options.HTMLMathMethod` [API change]. Removed unneeded data file LaTeXMathML.js and updated tests. Bumped version to 2.2.
2017-12-26HTML writer: Use br elements in line blocks...John MacFarlane
instead of relying on CSS. Closes #4162. HTML-based templates have had the custom CSS for div.line-block removed. Those maintaining custom templates will want to remove this too. We still enclose line blocks in a div with class line-block.
2017-12-03Include default CSS for 'underline' class in HTML-based templates.John MacFarlane
2017-11-02Improved support for columns in HTML.John MacFarlane
* 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.
2017-10-31HTML Writer: consistently use dashed class-namesmb21
see #3556
2017-08-14Implement multicolumn support for slide formats.John MacFarlane
The structure expected is: <div class="columns"> <div class="column" width="40%"> contents... </div> <div class="column" width="60%"> contents... </div> </div> Support has been added for beamer and all HTML slide formats. Closes #1710. Note: later we could add a more elegant way to create this structure in Markdown than to use raw HTML div elements. This would come for free with a "native div syntax" (#168). Or we could devise something specific to slides
2017-04-25HTML line block: Use class instead of style attribute.John MacFarlane
We now issue `<div class="line-block">` and include a default definition for `line-block` in the default templates, instead of hard-coding a `style` on the div. Closes #1623.
2017-03-04Regularized CSS in html/epub/html slide templates.John MacFarlane
All templates now include `code{white-space: pre-wrap}` and CSS for `q` if `--html-q-tags` is used. Previously some templates had `pre` and others `pre-wrap`; the `q` styles were only sometimes included. See #3485.
2017-03-04templates: CSS for .smallcaps, closes #1592 (#3485)Mauro Bieg
2017-02-04Moved tests/ -> test/.John MacFarlane