website: add instructions about syntax highlighting

This commit is contained in:
adam j hartz 2025-09-28 01:22:58 -04:00
commit 826577470f
Signed by: hz
GPG key ID: B63A0A59F5C82493

View file

@ -97,6 +97,15 @@ the following, using Git:
$ git clone https://catsoop.org/git/catsoop/sample_course ~/.local/share/catsoop/courses/sample_course
```
<catsoop-section>Configure Syntax Highlighting</catsoop-section>
Syntax highlighting is available for a few common editors:
* For [Vim](https://www.vim.org/), copy the contents of the [`syntax-highlighting/vim`](https://catsoop.org/git/catsoop/catsoop/src/branch/main/syntax-highlighting/vim) directory in the catsoop repository to your `~/.vim` directory.
* For [Emacs](https://www.gnu.org/software/emacs/), follow the instructions in [`syntax-highlighting/emacs/README.md`](https://catsoop.org/git/catsoop/catsoop/src/branch/main/syntax-highlighting/emacs).
* For [VSCodium](https://vscodium.com/)/VSCode, you can either [download the catsoop plugin](COURSE/catsoop-syntax-0.0.1.vsix) or build it yourself using [these instructions](https://catsoop.org/git/catsoop/catsoop/src/branch/main/syntax-highlighting/vscode), and then either click-and-drag that file into your editor window, or run `code --install-extension catsoop-syntax-0.0.1.vsix
`
<catsoop-section>Start CAT-SOOP</catsoop-section>
To start the server, you should run: