Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Syntax Highlighting

In the object preview, Syntax highlighting using syntect is available.

To enable this, set preview.highlight = true in the config file.

Color Themes

You can change the color theme by specifying the theme name in preview.highlight_theme.

By default the following themes are available:

Also, by creating xxx.tmTheme in $STU_ROOT_DIR/preview_theme/, you can use xxx and load it.

Syntax definitions

You can add syntax definitions for file types that are not supported by default.

You can use it by creating a .sublime-syntax file in $STU_ROOT_DIR/preview_syntax/.

https://www.sublimetext.com/docs/syntax.html