add ebnf highlighting filter
This commit is contained in:
parent
6daa705bd0
commit
6f2fa30212
4 changed files with 185 additions and 0 deletions
|
@ -216,3 +216,35 @@ footer {
|
|||
font-weight: 500;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ebnf {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.ebnf td {
|
||||
padding: 0 0.15em;
|
||||
}
|
||||
|
||||
.ebnf-nt {
|
||||
font-weight: 500;
|
||||
color: hsl(155deg, 80%, 30%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ebnf-punc {
|
||||
color: hsl(25deg, 40%, 30%);
|
||||
}
|
||||
|
||||
.ebnf-sub, .ebnf-brack {
|
||||
color: hsl(210deg, 80%, 35%);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ebnf-brack {
|
||||
padding: 0 0.05em;
|
||||
}
|
||||
|
||||
.ebnf-s {
|
||||
font-style: italic;
|
||||
color: hsl(330deg, 80%, 30%);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue