add rust, improve code snippet stypes

This commit is contained in:
Konstantin 2024-03-23 17:57:33 +01:00
parent c116020b4e
commit 370234492a
4 changed files with 26 additions and 2 deletions

View file

@ -197,6 +197,7 @@ WAGTAIL_CODE_BLOCK_LANGUAGES = (
('json', 'JSON'),
('kotlin', 'Kotlin'),
('python', 'Python'),
('rust', 'Rust'),
('swift', 'Swift'),
('toml', 'TOML'),
('yaml', 'YAML'),