Skip to content

Commit

Permalink
Manual install of pygments with Soar syntax highlighting
Browse files Browse the repository at this point in the history
Since the pygments PR is not reviewed yet this already enables the Soar syntax highlighting and might allow us to catch existing bugs.

This also enables the use of mkdocs material code annotations.

Related: #24
  • Loading branch information
moschmdt authored and garfieldnate committed Aug 1, 2024
1 parent 4c25877 commit a845f18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ theme:
custom_dir: overrides
features:
- content.code.copy
- content.code.annotate
- content.action.view
- content.action.edit
- content.tooltips
Expand Down Expand Up @@ -54,6 +55,8 @@ markdown_extensions:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
use_pygments: true
linenums: true
- pymdownx.inlinehilite
- abbr
- attr_list
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ mkdocs-material==9.*
mkdocs-material-extensions==1.*
python-markdown-math==0.8
mkdocs-macros-plugin==1.*
pygments @ git+https://github.com/moschmdt/pygments@feature/soar

0 comments on commit a845f18

Please sign in to comment.