Skip to content

Commit

Permalink
fix(theme-common): SQL magic block comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
WillBlack403 committed Dec 20, 2024
1 parent d6e1aab commit 30a7f46
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions website/_dogfooding/_pages tests/code-block-tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,19 @@ WHERE customer_id IN (
)
```
```sql title="sql_query_block.sql"
/* highlight-start */
SELECT *
FROM orders
/* highlight-end */
WHERE customer_id IN (
SELECT customer_id
/* highlight-next-line */
FROM customers
WHERE country = 'USA'
)
```
```matlab title="matlab.m"
% highlight-start
function result = times2(n)
Expand Down

0 comments on commit 30a7f46

Please sign in to comment.