Re-use use_logo for multiple logos/multiple rules templates #132
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Disclaimer: This is my first ever pull request so please feel free to dunk me for all the things I have certainly missed and the etiquette I am not following: I am very eager to learn! Also, I love your package so much 😄
Hello,
I work for a french public health/government organisation and we have a very strict ppt template to follow. I am allowed to pursue the use of html slides but only if I use the official template (example here, although you shouldn't look it will make your eyes bleed).
Up until today and diving into the
use_logo()
function from your package, I was stuck on a simple problem: our template has different background images/logos depending on the slide ... And if I made CSS rules for slide classes usingbackground-image
property, then I couldn't usebackground-image
when I needed it for presentation purposes (at least my users wouldn't understand why the logos suddenly disapeared).I tried your package but using the function twice resulted in the last call erasing the first so I went ahead and slightly changed some arguments to allow for the naming of the added image and thus adding as many divs as needed !
PS: if you took a look at the example ppt format (again, I advise against it for your eyes safety), the images that I need to change are vertical colored bars. I figured I also could use a variation of what you did there (before use_logo existed I guess?) to add spans with a colored background but I don't know if thats a better way of doing things in HTML ...
Have a great day
Raphaël