Talon Voice Commands Cheatsheet

This is a demo for how to get a cheatsheet of all Talon voice commands.

To recreate what I did:

  1. Install Talon on your computer (see Getting Started).
  2. Clone this repository into your Talon user directory (see Getting Scripts).
  3. 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.
  4. Say print help or print latex help.

This will generate a self contained HTML or LaTeX file in the repository directory.

Building the style sheet

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.