Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ highlight_code = true
highlight_theme = "boron"
bottom_footnotes = true
insert_anchor_links = "left"
extra_syntaxes_and_themes = ["syntaxes"]

[extra]
# Put all your custom variables here
14 changes: 14 additions & 0 deletions syntaxes/custom_plain_text.sublime-syntax
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
%YAML 1.2
---
name: Plain Text
file_extensions: [text]
scope: text.plain

# This custom syntax for plain text only exists so we can match against ```text
# code blocks, which are common in rustdoc. By default, only ```txt is supported
# by Zola. Without this file, `zola build` would print spurious warnings.

contexts:
main:
- match: whatever
scope: text.plain
Loading