Skip to content

Commit e618705

Browse files
committed
Format code blocks
1 parent a058830 commit e618705

1 file changed

Lines changed: 27 additions & 11 deletions

File tree

src/misc/write-docs/index.md

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ You can use any of supported <GitHubRepo id="markdown-it/markdown-it-emoji/blob/
319319

320320
:tada: :grinning: :rofl: :scream: :heart: :pray: :white_check_mark: :no_entry_sign:
321321

322-
```
323-
:tada: :grinning: :rofl: :scream: :heart: :pray: :white_check_mark: :no_entry_sign:
324-
```
322+
```
323+
:tada: :grinning: :rofl: :scream: :heart: :pray: :white_check_mark: :no_entry_sign:
324+
```
325325

326326

327327
### Labels/badges
@@ -330,39 +330,55 @@ Markdown supports using badges, such as:
330330
<Badge text="tip badge" type="tip"/>
331331

332332

333-
```<Badge text="tip badge" type="tip"/>```
333+
```markdown
334+
<Badge text="tip badge" type="tip"/>
335+
```
334336

335337
---
336338

337339
<Badge text="warning badge" type="warning"/>
338340

339341

340-
```<Badge text="warning badge" type="warning"/>```
342+
```markdown
343+
<Badge text="warning badge" type="warning"/>
344+
```
341345

342346
---
343347

344348
<Badge text="error badge" type="danger"/>
345349

346350

347-
```<Badge text="error badge" type="danger"/>```
351+
```markdown
352+
<Badge text="error badge" type="danger"/>
353+
```
348354

349355
For mentioning that some feature is available from specific version, use `<SinceBadge />`
350356

351-
```<SinceBadge type="App" version="2022.1.1" />```
357+
```markdown
358+
<SinceBadge type="App" version="2022.1.1" />
359+
```
352360
<SinceBadge version="2022.1.1" type="App" />
353361

354-
```<SinceBadge type="Plugin" version="2023.2" />```
362+
```markdown
363+
<SinceBadge type="Plugin" version="2023.2" />
364+
```
355365
<SinceBadge version="2023.2" type="Plugin" />
356366

357-
```<SinceBadge type="Server" version="2024.3" />```
367+
```markdown
368+
<SinceBadge type="Server" version="2024.3" />
369+
```
358370
<SinceBadge version="2024.3" type="Server" />
359371

360372
To refer to <EnterprisePlatformName /> or <CommunityPlatformName /> edition, use `<ServerType />`
361373

362-
```<ServerType type="CE" />```
374+
```markdown
375+
<ServerType type="CE" />
376+
```
363377
<ServerType type="CE" />
364378

365-
```<ServerType type="EE" />```
379+
```markdown
380+
<ServerType type="EE" />
381+
```
366382
<ServerType type="EE" />
367383

368384

0 commit comments

Comments
 (0)