Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit cee584e

Browse files
doc: document new CSS variable for code highlighter
1 parent 1e003c3 commit cee584e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/docs/components/app-components-highlight-code/app-components-highlight-code.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ The `<deckgo-highlight-code/>` could be styled using the following CSS4 variable
7878

7979
| CSS4 variable | Default | Note |
8080
| -------------------------- |-----------------|-----------------|
81+
| --deckgo-highlight-code-display | block | The display property of the code |
8182
| --deckgo-highlight-code-color | inherit | The color of the displayed code |
8283
| --deckgo-highlight-code-background | | The background of the displayed code |
8384
| --deckgo-highlight-code-padding | | The padding of the displayed code |

docs/src/app/pages/docs/components/app-components-highlight-code/app-components-highlight-code.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ export class AppComponentsHighlightCode {
138138
</tr>
139139
</thead>
140140
<tbody><tr>
141+
<td>--deckgo-highlight-code-display</td>
142+
<td>block</td>
143+
<td>The display property of the code</td>
144+
</tr>
145+
<tr>
141146
<td>--deckgo-highlight-code-color</td>
142147
<td>inherit</td>
143148
<td>The color of the displayed code</td>

0 commit comments

Comments
 (0)