Skip to content

Quarto Extension filter that adds a full screen button in the code blocks in RevealJs slides and html documents.

License

Notifications You must be signed in to change notification settings

shafayetShafee/code-fullscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code-fullscreen Extension For Quarto

code-fullscreen is Quarto filter that adds a fullscreen button in the code blocks in revealjs slides and html documents.

View live demo

Installing

⚠️ This extension requires Quarto version to be at least 1.2

quarto add shafayetShafee/code-fullscreen

This will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Using

Simply use the filter in the document yaml section.

filters:
  - code-fullscreen

Then a fullscreen button will be added in top right corner of each code blocks.

Example

Acknowledgement

The internal js and css code taken and modified from Reveal.js fullscreen code plugin.