Skip to content

Commit

Permalink
docs: fix prism js comments highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
hyyan committed Jul 15, 2022
1 parent 0cf67b9 commit 8931782
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/src/theme/prism-bbj.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(function (Prism) {
Prism.languages.BBj = Prism.languages.extend("clike", {
'comment': [
{
pattern: /(^|[^\\:])rem[\s\S]*?.*/i,
lookbehind: true,
greedy: true
}
{
pattern: /(^|[^\\:])rem\s+.*/i,
lookbehind: true,
greedy: true
}
],
keyword:
/\b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while|class|classend|extends|implements|method|methodend|methodret|interface|interfaceend|protected|public|private|void|static|use|declare|auto|field|if|then|else|endif|fi|while|wend|for|to|step|next|switch|case|swend|new)\b/i,
Expand Down

0 comments on commit 8931782

Please sign in to comment.