Skip to content

Commit 9df0856

Browse files
committed
chore: update example
1 parent 080ce87 commit 9df0856

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/astro/src/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ code[data-line-numbers] > [data-line]::before {
8787
}
8888

8989
pre [data-line] {
90-
@apply px-4 border-l-2 border-l-transparent;
90+
@apply px-1.5 border-l-2 border-l-transparent;
9191
}
9292

9393
[data-highlighted-line] {

examples/astro/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: '../layouts/BaseLayout.astro'
55

66
### With title, line numbers, and character highlighting
77

8-
```elixir title="fib.ex" showLineNumbers /palindrome/#v
8+
```elixir title="fib.ex" /palindrome/#v showLineNumbers
99
defmodule Solution do
1010
@spec is_palindrome(x :: integer) :: boolean
1111
def is_palindrome(x) when x < 0, do: false

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "turbo build",
1010
"dev": "turbo dev",
11-
"test": "vitest --run",
11+
"test": "turbo test",
1212
"format": "biome format . --error-on-warnings --log-level='info' --diagnostic-level='info' --write",
1313
"lint": "biome lint . --log-level='info' --log-kind='pretty' --diagnostic-level='info' --apply-unsafe",
1414
"format:markdown": "markdownlint-cli2 '**/*.md' '#**/node_modules' '#**/test'",

packages/core/test/fixtures.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
type BundledLanguage,
1010
type HighlighterGeneric,
1111
type BundledHighlighterOptions,
12-
getHighlighter as shikiHighlighter,
12+
createHighlighter as shikiHighlighter,
1313
} from 'shiki';
1414
import prettier from 'prettier';
1515
import { remark } from 'remark';

0 commit comments

Comments
 (0)