aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.html+lhs
AgeCommit message (Collapse)Author
2024-03-19Change lhs tests so they don't use `--standalone`.John MacFarlane
This will avoid test failures due to minor changes in skylighting versions, e.g. #9589.
2024-02-27Update test suite for latest skylighting-format-blaze-html.John MacFarlane
2023-12-20Remove html5shiv from default HTML5 template.John MacFarlane
I don't think we need to support IE < 9 any more!
2023-08-27Update tests for skylighting-format-blaze-html change.John MacFarlane
2023-08-13Fix tests for change to template in #8999.John MacFarlane
2023-07-26Add clause for svg to default CSS for HTML.John MacFarlane
Suggested at #8969.
2023-03-29styles.html: fix task-list styling in reveal.jsAlbert Krewinkel
Fixes: #8731
2023-01-13HTML style template: put Consolas before Lucida Console for code font.John MacFarlane
This is to prevent Lucida Console from being used on Windows, where there seems to be a spacing issue in some applications, with boldface glyphs wider than regular ones. Closes #8543.
2023-01-06Add `code { hyphens: manual; }` to HTML and EPUB CSS.John MacFarlane
Closes #8530.
2022-11-09HTML template: remove default font size, line height...John MacFarlane
...and font family in default inline css. Closes #8423 (see comments there for motivation). `mainfont`, `fontsize`, and `linestretch` can still be used as before; the only difference is that we no longer provide opinionated defaults. This commit also adds a `maxwidth` variable that sets `max-width`; if not set, 36em is used as a default.
2022-11-04Change default background color of PDFs generated via HTML (#8422)Marcin Serwin
* Change default background color of PDFs generated via HTML * Update tests
2022-10-17Adjust tests for CSS change; add CSS comments to mark...John MacFarlane
highlighting CSS and citations CSS in the source.
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
2022-05-31Require skylighting 0.12.3.1 and update tests.John MacFarlane
2022-01-16CSS in HTML template: adjust #TOC and h1 on mobile (#7835)Mauro Bieg
2021-07-05document-css: reset overflow-wrap on code blocksMauro Bieg
fixes #7423
2020-12-17Update test with new skylighting CSS.John MacFarlane
2020-11-02Default CSS tweaks.John MacFarlane
These changes restore the 20px font size while increasing readibility by reducing line width. (The number of words per line is now similar to that of pandoc's default LaTeX/PDF output.) With the narrower lines, we also need less interline and interparagraph space, so the content becomes more compact and skimmable: - Change default font size back to 20px. - Set font-size for print media to 12pt. - Reduce interline space. - Reduce interparagraph space. - Reduce line width. - Remove the special `line-height: 1` for table cells, which I had suggested but which now seems a mistake. - Remove the special line-height for pre. - Ensure that there is a bit more space before a heading than after. - Slightly reduced space after title header.
2020-11-01Default CSS: avoid padding and color if monobackgroundcolor not given.John MacFarlane
This makes the default more austere, while putting the padded, colored code elements within easy reach.
2020-11-01Updates to default CSS (#6786)Mauro Bieg
- Fix margin before codeblock - Add `monobackgroundcolor` variable, making the background color and padding of code optional. - Ensure that backgrounds from highlighting styles take precedence over monobackgroundcolor - Remove list markers from TOC - Add margin-bottom where needed - Remove italics from blockquote styling - Change borders and spacing in tables to be more consistent with other output formats - Style h5, h6 - Decrease root font-size to 18px - Update tests for styles.html changes - Add CSS example to MANUAL
2020-09-19Add CSS to default HTML template (#6601)Mauro Bieg
2020-08-31Fix tests for skylighting 0.10Albert Krewinkel
2020-05-18Use CSS in favor of <br> for display math (#6372)Lila
Some CSS to ensure that display math is displayed centered and on a new line is now included in the default HTML-based templates; this may be overridden if the user wants a different behavior.
2020-05-12Use latest skylighting.John MacFarlane
This adds `aria-hidden="true"` to the empty a elements, which helps people who use screen readers.
2019-12-05HTML-based templates: Add CSS to suppress bullet on unordered task lists.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.
2019-07-14Update test for new skylighting.John MacFarlane
2019-05-27Use skylighting 0.8.John MacFarlane
2019-02-10Use latest skylighting.John MacFarlane
2019-01-08Removed superfluous sourceCode class on code blocks.John MacFarlane
* These were added by the RST reader and, for literate Haskell, by the Markdown and LaTeX readers. There is no point to this class, and it is not applied consistently by all readers. See #5047. * Reverse order of `literate` and `haskell` classes on code blocks when parsing literate Haskell. Better if `haskell` comes first.
2018-12-14Remove unnecessary type="text/css" on style and link for HTML5.John MacFarlane
Closes #5146.
2018-10-08Fixed tests for new skylighting.John MacFarlane
2018-06-09Use skylighting 0.7.2. Adjust tests.John MacFarlane
This should fix commercialhaskell/stackage#3719, once a new release is made.
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-10Changes for skylighting-0.5.John MacFarlane
This fixes a bug in 2.0.4, whereby pandoc could not read the theme files generated with `--print-highlight-style`. It also fixes some CSS issues involving line numbers. Highlighted code blocks are now enclosed in a div with class sourceCode. Highlighting CSS no longer sets a generic color for pre and code; we only set these for class `sourceCode`. This will close #4133 and #4128.
2017-12-03Include default CSS for 'underline' class in HTML-based templates.John MacFarlane
2017-11-28Update tests for new skylighting.John MacFarlane
2017-11-21Update tests for skylighting changes.John MacFarlane
2017-11-04Fix test output for latest skylighting.2.0.1.1John MacFarlane
2017-11-03Updated tests.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-11-02Use latest skylighting; ensure no duplicate ids on code lines.John MacFarlane
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.
2017-10-26Use skylighting 0.4.2.John MacFarlane
This prevents the problem with extra space around highlighted code blocks (closes #3996). Note that we no longer put an enclosing div around highlighted code blocks. The pre is the outer element, just as for unhighlighted blocks.
2017-09-09Updated lhs-test for new skylighting.John MacFarlane
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.