We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6311910 commit c8725c0Copy full SHA for c8725c0
assets/css/v2/style.css
@@ -60,6 +60,7 @@
60
--color-shadow: #d2d2d2;
61
--color-codeblock-border: #888;
62
--color-codeblock-shadow: #e5e5e5;
63
+ --color-codeblock-highlight: #fffed9;
64
--color-footer: #1d1d1d;
65
--color-footer-text: #e2e2e2;
66
--color-product-title: #8d8d8d;
@@ -1449,6 +1450,12 @@ ul .code-block {
1449
1450
padding: 0;
1451
}
1452
1453
+.highlight code .hl {
1454
+ width: fit-content;
1455
+ min-width: 100%;
1456
+ background-color: var(--color-codeblock-highlight);
1457
+}
1458
+
1459
/* MARK: Images
1460
*/
1461
figure {
layouts/shortcodes/highlight.html
@@ -0,0 +1 @@
1
+{{ errorf "'<highlight></highlight>' is deprecated. Use codeblock shortcode (via triple ticks and setting 'hl_lines') instead."}}
0 commit comments