-
-
Notifications
You must be signed in to change notification settings - Fork 980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
f/ioslides background #687
Conversation
Is there anything I can do to increase the merge ability of this? |
The data-background stuff looks great. On the Heading {.css-tricks} To make this work I think you'd need to let pandoc apply the class to the section div and then use jquery at startup to move classes (that aren't section, level2, etc.) from divs onto their enclosed slide element. |
I have updated my pull request. Maybe you could append you tests to the test-ioslides.R |
@jjallaire thanks for the input. The
If this syntax is acceptable and likely to be merged I can prepare a pull request against the gh-pages branch. @alequartz excellent, I've refactored slightly to allow for easier additional testing. |
To be honest I don't love the .. syntax (it seems obscure to me). Standard On Wed, May 18, 2016 at 10:52 PM, Roy Storey notifications@github.com
|
@jjallaire it isn't that it is difficult to achieve in Lua, rather the syntax is a challenge and why my original choice was to add an attribute using the same technique for the
347e518 removes this to focus on the |
Just realised the code was not honouring |
…contained url() in style attributes
26f0e07
to
6d10665
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for leaving this PR here for over a year. I spent a couple of hours reviewing and testing it. It looks pretty good to me, and I think it is very useful to many other people, too. I only expect a quick revision, but I'm not sure if you are still interested. I can also make the revision by myself. Thanks!
@@ -117,10 +117,14 @@ process_html_res <- function(html, reg, processor) { | |||
} | |||
|
|||
process_images <- function(html, processor) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
process_images()
is called by html_document_base()
, so the change in this function has potential risk of affecting all HTML output formats. I'd rather be a little conservative, and move the new process_html_res()
call you added to the end of base64_encode_images()
(line #140
), so that this only affects ioslides_presentation()
, because only ioslides_presentation()
calls base64_encode_images()
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yihui sorry I didn't see this update. No worries on the timing, I've been reporting using a branch that includes it in the intervening time. Good to see it merged. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries. Thanks!
Been playing with this and it is a great solution. One additional request though. this sets Can we have an option to set other For example, my background images look better with |
@jaredlander Okay, 70a1847 was my wedding gift to you. Now |
Not sure if this is related or if it was brought up elsewhere, but with the latest version of |
@jaredlander Could you provide a minimal reproducible example as a zip archive? You probably want to use |
@jaredlander Could you test the latest devel version here? I think your issue might be the same as #1197, which I just fixed. Thanks! |
@yihui I'm working on a talk now. Will update when I get in the air and report back. |
Looks good now! @yihui |
@jaredlander Glad to hear that! |
Change
Add more simple syntax for slide backgrounds and slide specific class.
Issues #195 and #230 are addressed, or partially so. The thank you slide is a little tricky as it breaks the mold somewhat.
Usage
Testing
@alequartz's unit testing would be a really useful addition.