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

How to add 3rd party reveal js plugins to prez? #37

Open
draptik opened this issue Mar 18, 2018 · 0 comments
Open

How to add 3rd party reveal js plugins to prez? #37

draptik opened this issue Mar 18, 2018 · 0 comments

Comments

@draptik
Copy link

draptik commented Mar 18, 2018

I would like to add 3rd party RevealJs plugins to prez. Is this possible? What would be the best approach?

In RevealJs I would normally just include these plugins in index.html within the Reveal.initialize block:

<script>
	Reveal.initialize({
                         // ...
		dependencies: [
                               // ...
			{ src: 'plugin/tagcloud/tagcloud.js', async: true },
			{ src: 'plugin/badges/badges.js'},
                                // OTHER PLUGINS GO HERE
		],
		badges: { /* SAMPLE PLUGIN CONFIG... */ }
	});
</script>

Does prez provide a similar way for including plugins on a per-project basis?

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