Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quarto-ext/pointer
A very simple RevealJS plugin extension that adds support for switching the cursor to a 'pointer' style element while presenting.
https://github.com/quarto-ext/pointer
quarto quarto-extension reveal-js-plugin
Last synced: about 1 month ago
JSON representation
A very simple RevealJS plugin extension that adds support for switching the cursor to a 'pointer' style element while presenting.
- Host: GitHub
- URL: https://github.com/quarto-ext/pointer
- Owner: quarto-ext
- License: mit
- Created: 2022-09-13T21:02:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-29T13:58:00.000Z (over 1 year ago)
- Last Synced: 2024-11-18T05:38:41.873Z (2 months ago)
- Topics: quarto, quarto-extension, reveal-js-plugin
- Homepage: https://quarto-ext.github.io/pointer/
- Size: 3.21 MB
- Stars: 31
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pointer
A very simple RevealJS plugin extension that adds support for switching the cursor to a 'pointer' style element while presenting.
:warning: Requires Quarto Version 1.2.124 or later :warning:
## Installation
```
$ quarto add quarto-ext/pointer
```This will install the extension under the `_extensions` subdirectory. If you're using version control, you will want to check in this directory.
## Usage
Simply add the extension to the list of reveal plugins like:
```
title: My Presentation
format:
revealjs: default
pointer:
- # set pointer configuration options here
revealjs-plugins:
- pointer
```By default, you can activate the pointer mode by pressing the 'q' key while viewing the presentation. When activated, a 16px red pointer will be used as a cursor. Press the 'q' key once again to reactivate the standard cursor.
## Options
You can control the color and appearance of the pointer by passing some additional options under a `pointer` key.
| Option | Description |
| --- | --- |
| ```key``` | What key should be used to activate and deactivate the pointer. Defaults to `q`. |
| ```color``` | A CSS color name that provides the color used when the pointer is activated. Defaults to `red`. |
| ```pointerSize``` | The size of the pointer in pixels (please do not include units). Defaults to `16`. |
| ```alwaysVisible``` | Whether the pointer should always be visible, or disappear after it stops moving for a moment. Defaults to 'false'. |## Example
View an example presentation at . Use the 'q' to enable and disable the pointer.