Skip to content

Commit

Permalink
Add basic syntax highlighting for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
janh committed Feb 2, 2024
1 parent a543117 commit c88c7c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,18 @@
p.nav + h1 { margin-top: 0; }
h2.device { margin-bottom: 0; }
h2.device + p { margin-top: 0; }
code span.kw { font-weight: bold; }
code span.dt { color: #47b; }
code span.cn { color: #474; }
code span.st { color: #b47; }
@media (prefers-color-scheme: dark) {
html { background: #000; color: #ddd; }
a { color: #4af; }
pre, code { background: #2f2f2f; }
hr { background: #666; }
code span.dt { color: #8bd; }
code span.cn { color: #8b8; }
code span.st { color: #d8b; }
}
</style>
</head>
Expand Down

0 comments on commit c88c7c2

Please sign in to comment.