Skip to content

Commit 21b68bf

Browse files
committed
Chore/add diff action (#2720)
1 parent 9a97f7f commit 21b68bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/diff.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
contents: write
1313
issues: write
1414
pull-requests: write
15-
1615
steps:
1716
- name: Checkout
1817
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
@@ -34,7 +33,7 @@ jobs:
3433
- name: Install Dependencies and Build
3534
run: |
3635
pnpm install
37-
36+
3837
- name: Build Demo Project
3938
run: |
4039
cd website

website/docs/components/LiveCodeEditor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { HomeFeature } from '@rspress/core/theme';
12
import { CodeBlockRuntime, type CodeBlockRuntimeProps } from '@theme';
23
import { useRef } from 'react';
34
import styles from './LiveCodeEditor.module.scss';
@@ -20,6 +21,7 @@ export function LiveCodeEditor({
2021
return (
2122
<div className={styles.editorContainer}>
2223
<div className={`${styles.codeBlockWrapper} rp-force-wrap`}>
24+
<HomeFeature />
2325
<CodeBlockRuntime {...rest} code={value} />
2426
{!disabled && (
2527
<textarea

0 commit comments

Comments
 (0)