Skip to content
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

feature?: pass arguments to loaded HTML #15

Open
jlangr opened this issue Apr 25, 2019 · 0 comments
Open

feature?: pass arguments to loaded HTML #15

jlangr opened this issue Apr 25, 2019 · 0 comments

Comments

@jlangr
Copy link

jlangr commented Apr 25, 2019

Example of use: Bumper slides in a presentation. Each one looks exactly the same except for perhaps title text. Something like:

<section data-external="include/bumper.html" text="some bumper title" />

bumper.html:
<p>${text}</p> <img src="images/lss.png" style="width:100%" />

I'm new to reveal.js, and not terribly familiar with HTML & templating, so I'm not sure if there's a better approach to what I seek. Thanks for any thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant