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

Full screen code block #2168

Closed
pieterjd opened this issue May 31, 2018 · 2 comments
Closed

Full screen code block #2168

pieterjd opened this issue May 31, 2018 · 2 comments

Comments

@pieterjd
Copy link

As I use quite large code snippets in my slides, the default width and height cause scrollbars to appear.

Given there is still plenty of space around the code block, I would like it to take up all available width and height.

I've tried the add the stretch class on the pre element, but no luck so far. Given I'm not at all experienced in CSS, I'm looking for some help!

Thanks!
Pieter-Jan

@pieterjd
Copy link
Author

pieterjd commented Jun 5, 2018

By coincidence, I stumbled on this plugin:
https://github.com/mkordulewski/reveal.js-fullscreen-code

Works like a charm!

@Trolldemorted
Copy link

are there ways to do this in vanilla revealjs?

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

2 participants