Feat: add code block attributes support (#330)

(cherry picked from commit 6df8f283f2)
This commit is contained in:
Cell
2023-06-19 11:32:10 +08:00
parent 38043616ef
commit 1b359b7f14
5 changed files with 17 additions and 329 deletions
+6
View File
@@ -114,6 +114,12 @@ pre {
padding: 0 0.2rem;
@include transition(transform 0.2s ease);
}
.title-inner {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
}
.code-title::after {