Commit graph

27 commits

Author SHA1 Message Date
Nicolas Porcel
bd5818c52a Force word wrapping in code tags
For instance, if you try to compile the following markdown code with pandoc (using 1.12):

``` markdown
Page 1
------

    This is a very long code line that will appear on every slide even on page three

Page 2
------

My content

Page 3
------

My last content
```

using this command:

    pandoc -s -t dzslides test.md -o /tmp/test.html

the long code line will appear on every slide. Using pre-wrap fixes the problem by forcing word wrap of code. The only drawback is that it requires IE 8 [according to MDN](https://developer.mozilla.org/fr/docs/Web/CSS/white-space), which make it less compatible.

A workaround it to wrap the code when writing it, but if you consider inline code tags using the accents \`\` in markdown this is not possible.
2016-11-24 15:32:24 +01:00
John MacFarlane
8660958b2a Merge pull request #155 from adunning/html-abstract
Add TOC to HTML slides where missing.
2016-01-01 20:26:57 -08:00
Andrew Dunning
abd1da4263 Add TOC to slides where missing. 2015-12-20 11:00:24 -05:00
Andrew Dunning
7733b15c8d Update dzslides template from source. 2015-10-22 17:13:25 -04:00
Andrew Dunning
4ee7a20dfc Use en dash to separate title-prefix. 2015-10-16 08:48:24 -04:00
John MacFarlane
64544dea58 Added subtitle to html and latex formats. 2013-06-21 22:48:49 -07:00
Alexander Bakst
cd48200ceb Add class attribute to title slide section tag
It would be useful to have a class attribute for the title slide's section tag. For example, this is useful for setting a background image unique to the title slide.
2013-05-31 15:28:58 -06:00
John MacFarlane
9601cc5026 Added css to preserve space in <code> tags.
Thanks to Dirk Laurie.
2013-01-04 23:01:14 -08:00
John MacFarlane
d99073f1be Removed unnecessary if around pagetitle. 2012-11-02 19:45:52 -07:00
John MacFarlane
fe86fad75c Better default for q in dzslides template. 2012-03-28 13:34:52 -04:00
John MacFarlane
f1adc1b723 Removed styling of q in dzslides template. 2012-03-28 13:33:31 -04:00
John MacFarlane
342435f162 Updated dzslides styles based on new template.html. 2012-03-23 11:36:32 -07:00
John MacFarlane
438c5c3ea8 Use dcterms.date for html5 metadata. 2012-01-28 16:12:10 -08:00
John MacFarlane
0d174a6198 dzslides: Center title page. 2012-01-28 12:45:46 -08:00
John MacFarlane
dc936548c2 Added style tags around highlighting-css.
This is needed because of change from h-k 0.4 to 0.5.
2012-01-25 11:16:36 -08:00
John MacFarlane
63d2575c22 Revert titleslide change in dzslides.
It is no longer needed because of changes in HTML writer.
2012-01-24 10:50:22 -08:00
John MacFarlane
7f774d6e30 Dzslides: tweaked titleslide css since header can now be any level. 2012-01-24 10:32:43 -08:00
John MacFarlane
9fb1606145 dzslides template: Fixed css for new highlighting-kate. 2012-01-24 10:17:08 -08:00
John MacFarlane
88ec026064 Replaced dzslides-core code with dzslides-core variable. 2011-12-29 17:40:43 -08:00
John MacFarlane
5facbc552d HTML-based templates: use separate variables for meta-date, meta-author. 2011-11-29 13:30:41 -08:00
John MacFarlane
1aa96f5f8b Dzslides template - allow images to be their own size. 2011-11-07 23:06:00 -08:00
John MacFarlane
e5922e334d Improved css for dzslides to prevent text spilling over R side. 2011-11-07 23:01:56 -08:00
John MacFarlane
29e6d07090 Updated dzslides template to current github version. 2011-11-07 12:15:50 -08:00
John MacFarlane
1b6b9a6d53 dzslides: removed extra title element. 2011-10-03 08:57:40 -07:00
John MacFarlane
f8709a78e1 dzslides: better default template.
* No red color on incremental lists.
* Show authors and date on title page.
* Special styling for title slides (H1 by itself on slide).
* Better default font and font size.
* Better spacing between elements.
* Styling for blockquote and pre.
2011-10-02 19:40:17 -07:00
John MacFarlane
5eab90928a dzslides template: Use default css only if no css links specified. 2011-10-01 23:40:56 -07:00
John MacFarlane
02b6aebc2a Added dzslides template. 2011-10-01 22:55:48 -07:00