Skip to content

Commit 488bb45

Browse files
committed
add syntax highlighting for SDL files
1 parent 80b90f4 commit 488bb45

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/stylesheets/extra.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
--md-default-fg-color--lightest: rgba(0, 0, 0, 0.07);
1313
}
1414

15+
[data-md-color-scheme="default"] {
16+
--md-code-hl-comment-color: var(--dub-fill-red);
17+
}
18+
1519
/* consistency with other DUB pages */
1620

1721
html {

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ plugins:
4343
markdown_extensions:
4444
- admonition
4545
- pymdownx.highlight:
46+
extend_pygments_lang:
47+
- {"name": "sdl", "lang": "scilab"}
4648
anchor_linenums: true
4749
- pymdownx.inlinehilite
4850
- pymdownx.snippets

0 commit comments

Comments
 (0)