Skip to content

Commit 1a69506

Browse files
authored
[TASK] Add alias for code language "rst" to "plaintext" (#209)
To avoid warnings when rendering the docs until the `highlight.php` language for restructured text is available. Related: #173
1 parent 5dcb156 commit 1a69506

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/typo3-docs-theme/resources/config/typo3-docs-theme.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
->set(CodeHighlight::class)
4141
->arg('$languageAliases', [
4242
'none' => 'plaintext',
43+
'rst' => 'plaintext',
4344
'text' => 'plaintext',
4445
])
4546
->arg('$additionalLanguages', [

0 commit comments

Comments
 (0)