Syntax highlighting

Djockey supports all the languages that Shiki supports by default, plus Djot.

To highlight a code block, put the language next to the first set of backticks:

```md
# Some Markdown
```

To highlight an inline verbatim expression, add {.language-foo} after your backticks:

`print("Hello, world")`{.language-python}

Output: print("Hello, world")

Default languages

Added in version 0.0.5

You can avoid needing to type {.language-foo} all the time by specifying a default language for syntax highlighting. You can do this site-wide in djockey.yaml:

features:
  syntax_highlighting:
    default_code_block_language: typescript
    default_inline_language: text

Or you can do it on a file-by-file basis in the front matter:

---
default_inline_language: yaml
default_code_block_language: yaml
---
You can use Tab and Shift+Tab to select a result, then Enter to navigate.
Type a search into the box.