Skip to content

Commit

Permalink
enhance(syntax-highlight): enable Go language, set tab-size to 4 (#11608
Browse files Browse the repository at this point in the history
)

feat: enable Go language syntax highlighting, set pre,code tab-size to 4
  • Loading branch information
bsmth authored Aug 26, 2024
1 parent a4d8749 commit 61db1a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/syntax-highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const loadAllLanguages = lazy(() => {
"diff",
"django",
"glsl",
"go",
"handlebars",
"http",
"ignore",
Expand Down
1 change: 1 addition & 0 deletions client/src/document/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ code,
border-radius: var(--elem-radius);
font-family: var(--font-code);
font-size: var(--type-smaller-font-size);
tab-size: 4;
}

code {
Expand Down

0 comments on commit 61db1a6

Please sign in to comment.