Skip to content

Commit 172e44b

Browse files
committed
Add syntax highlighter
1 parent 852ed09 commit 172e44b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

mkdocs.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,24 @@ theme:
2525
- navigation.footer
2626
- navigation.sections
2727
- navigation.expand
28+
- content.code.copy
2829
extra_css:
2930
- assets/extra.css
3031
- assets/debugbar.css
3132
extra_javascript:
3233
- assets/debugbar.js
3334
markdown_extensions:
34-
- admonition
35+
- admonition
36+
- pymdownx.highlight:
37+
use_pygments: true
38+
anchor_linenums: true
39+
line_spans: __span
40+
pygments_lang_class: true
41+
extend_pygments_lang:
42+
- name: php
43+
lang: php
44+
options:
45+
startinline: true
46+
- pymdownx.inlinehilite
47+
- pymdownx.snippets
48+
- pymdownx.superfences

0 commit comments

Comments
 (0)