mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-01-09 18:20:55 +03:00
Add syntax highlighting to code snippets
This commit is contained in:
parent
5a44becaae
commit
2ea8cb1a3b
19
mkdocs.yml
19
mkdocs.yml
|
|
@ -31,14 +31,21 @@ theme:
|
|||
name: "Switch to system preference"
|
||||
features:
|
||||
- content.code.copy
|
||||
- content.code.select
|
||||
|
||||
extra_css:
|
||||
- theme/stylesheets/extra.css
|
||||
|
||||
markdown_extensions:
|
||||
- admonition
|
||||
- toc:
|
||||
anchorlink: True
|
||||
- admonition
|
||||
- toc:
|
||||
anchorlink: True
|
||||
- pymdownx.highlight:
|
||||
pygments_lang_class: true
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.snippets
|
||||
- pymdownx.superfences
|
||||
|
||||
|
||||
nav:
|
||||
- Home: 'index.md'
|
||||
|
|
@ -113,9 +120,3 @@ nav:
|
|||
- 'Kickstarter Announcement': 'community/kickstarter-announcement.md'
|
||||
- 'Mozilla Grant': 'community/mozilla-grant.md'
|
||||
- 'Jobs': 'community/jobs.md'
|
||||
|
||||
extra_css:
|
||||
- css/copy-button.css
|
||||
|
||||
extra_javascript:
|
||||
- js/copy-button.js
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user