Skip to content

Commit 880b7d4

Browse files
committed
fix(object/source_code): remove figure numbering from source code
1 parent c3bdd0d commit 880b7d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/object/_source_code.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,17 @@ pre code {
2222

2323
figure[class^='language-'] {
2424
figcaption {
25+
counter-increment: none;
2526
width: 100%;
2627
margin: 0;
2728
background-color: $color-figcaption-background;
2829
color: $color-figcaption-text;
2930
font-weight: bold;
31+
32+
&::before {
33+
// ソースコードに図の番号を付けないようにする
34+
content: '' !important;
35+
}
3036
}
3137

3238
pre {

0 commit comments

Comments
 (0)