Skip to content

Commit

Permalink
docs: add css so abnf code formats okay
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcelhaney committed Nov 28, 2022
1 parent bb930b4 commit d629dda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/src/assets/scss/syntax-highlighter.scss
Expand Up @@ -106,6 +106,12 @@ pre[class*="language-"] {
cursor: help;
}

.language-abnf .token {
display: inline;
padding: 0;
margin: 0;
}

pre {
counter-reset: lineNumber;
}
Expand All @@ -128,3 +134,5 @@ code .highlight-line:before {
text-align: right;
width: 2.4em;
}


0 comments on commit d629dda

Please sign in to comment.