This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
docs/docs/components/app-components-highlight-code
webcomponents/highlight-code/src/components/highlight-code Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ The `<deckgo-highlight-code/>` could be styled using the following CSS4 variable
9191| --deckgo-highlight-code-font-size | | The size of the font for the code |
9292| --deckgo-highlight-code-font-family | monospace | The family of the font for the code |
9393| --deckgo-highlight-code-line-background | #3880ff | The background of the lines you wish to highlight |
94+ | --deckgo-highlight-code-line-divider | #999999 | The color of the line numbers |
95+ | --deckgo-highlight-code-line-number | #999999 | The color of the divider between line numbers and code |
9496| --deckgo-highlight-code-line-padding | | A padding for each lines you wish to highlight |
9597| --deckgo-highlight-code-line-border-top | | The border-top property of the lines you wish to highlight |
9698| --deckgo-highlight-code-direction | ltr | The direction of the displayed code |
Original file line number Diff line number Diff line change 1515| ` hideAnchor ` | ` hide-anchor ` | | ` boolean ` | ` true ` |
1616| ` highlightLines ` | ` highlight-lines ` | | ` string ` | ` undefined ` |
1717| ` language ` | ` language ` | | ` string ` | ` 'javascript' ` |
18+ | ` lineNumbers ` | ` line-numbers ` | | ` boolean ` | ` true ` |
1819| ` src ` | ` src ` | | ` string ` | ` undefined ` |
1920
2021
You can’t perform that action at this time.
0 commit comments