Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions assets/css/v2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
--color-shadow: #d2d2d2;
--color-codeblock-border: #888;
--color-codeblock-shadow: #e5e5e5;
--color-codeblock-highlight: #fffed9;
--color-footer: #1d1d1d;
--color-footer-text: #e2e2e2;
--color-product-title: #8d8d8d;
Expand Down Expand Up @@ -1449,6 +1450,12 @@ ul .code-block {
padding: 0;
}

.highlight code .hl {
width: fit-content;
min-width: 100%;
background-color: var(--color-codeblock-highlight);
}

/* MARK: Images
*/
figure {
Expand Down
1 change: 1 addition & 0 deletions layouts/shortcodes/highlight.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ errorf "'<highlight></highlight>' is deprecated. Use codeblock shortcode (via triple ticks and setting 'hl_lines') instead."}}
Loading