This is a demo for how to get a cheatsheet of all Talon voice commands.
To recreate what I did:
- Install Talon on your computer (see Getting Started).
- Clone this repository into your Talon user directory (see Getting Scripts).
- Optional: For additional functionality, you could also install a pacakge that parses docstrings. This can be done with
~/.talon/bin/pip install docstring_parser
in Linux / Mac, or something like%AppData%\Talon\user\bin pip install docstring_parser
in Windows. Again, this step is not required for the basic functionality. - Say
print help
orprint latex help
.
This will generate a self contained HTML or LaTeX file in the repository directory.
The repository contains both a Sass stylesheet, style.sass
, and a precompiled CSS stylesheet, style.css
.
When you say 'print cheatsheet', the generated HTML file, cheatsheet.html
inlines the precompiled CSS stylesheet.
To develop the Sass stylesheet you will need npm.
There exists a precompiled HTML file, cheatsheet-dev.html
, which links to the Sass stylesheet.
To build this file and the linked Sass style sheet, run npm run dev
.
If you wish to compile only the Sass style sheet, run npm run build-sass
.