Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.31 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.31 KB

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.