Skip to content

Commit

Permalink
spec highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Jun 10, 2024
1 parent 13fcb84 commit 337a70f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,9 @@ <h2>How are errors modeled?</h2>
return {
case_insensitive: true,
contains: [
hljs.COMMENT(
'#.+$',
),
{
className: "spec-command-line",
begin: '^\\s*\\$',
Expand Down
8 changes: 4 additions & 4 deletions plugin/highlight/monokai.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ Monokai style - ported by Luigi Maselli - http://grigio.org
color: #a347ba;
}
.hljs-spec-variant {
color: #2a7bde;
color: #7bb7ff;
}
.hljs-spec-compiler, .hljs-spec-status-installed {
color: #26a269;
color: #31ffa0;
}
.hljs-spec-version {
color: #2aa1b3;
color: #61eaff;
}
.hljs-spec-arch {
color: #a347ba;
color: #de5bff;
}
.hljs-spec-command-line {
color: #fff;
Expand Down

0 comments on commit 337a70f

Please sign in to comment.