Skip to content

Commit 4402e8f

Browse files
committed
fix: prettier readme
1 parent 8d0be9c commit 4402e8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ npm install @ydb-platform/monaco-ghost monaco-editor
3737

3838
The library provides multiple ways to integrate with React applications. Here are the main approaches:
3939

40+
### React Integration with Hook
41+
4042
<details>
4143
<summary>React Integration with Hook - Recommended for most use cases</summary>
4244

@@ -111,6 +113,8 @@ function MyCustomEditor() {
111113

112114
</details>
113115

116+
### Direct Instance Creation
117+
114118
<details>
115119
<summary>Alternative: Direct Instance Creation - For advanced use cases requiring fine-grained control</summary>
116120

@@ -188,6 +192,8 @@ This approach gives you more control over when the ghost instance is created and
188192

189193
</details>
190194

195+
### Pre-built editor component
196+
191197
<details>
192198
<summary>Using the pre-built editor component - Simplest way to get started</summary>
193199

0 commit comments

Comments
 (0)