Compare commits
2 Commits
661d1ee1b1
...
main
Author | SHA1 | Date | |
---|---|---|---|
d2bf93abe6
|
|||
ef95da4d47
|
@@ -139,6 +139,7 @@
|
||||
{{ ('[code]%s[/code]' % code) | babycode | safe }}
|
||||
<p>Optionally, you can enable syntax highlighting by specifying the language in the attribute like this: <code class="inline-code">[code=gdscript]</code></p>
|
||||
{{ ('[code=gdscript]%s[/code]' % code) | babycode | safe}}
|
||||
<p>A full list of languages that can be highlighted is available <a href="https://pygments.org/languages/" target=_blank>here</a> (the short names column).</p>
|
||||
<p>Inline code tags look like this: {{ '[code]Inline code[/code]' | babycode | safe }}</p>
|
||||
<p>Babycodes are not parsed inside code blocks.</p>
|
||||
</section>
|
||||
|
@@ -9,6 +9,7 @@ itsdangerous==2.2.0
|
||||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.2
|
||||
pycparser==2.22
|
||||
Pygments==2.19.2
|
||||
python-dotenv==1.1.1
|
||||
python-slugify==8.0.4
|
||||
text-unidecode==1.3
|
||||
|
Reference in New Issue
Block a user