1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 02:49:56 +02:00

Add syntax highlighting example to menu

This commit is contained in:
Sunny Hirai
2021-07-01 17:10:35 -07:00
parent ea5e3e4ebf
commit 506d9bce53
4 changed files with 20 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import ErrorBoundary from 'react-error-boundary'
import { Icon } from '../../components'
import CheckLists from '../../examples/check-lists'
import CodeHighlighting from '../../examples/code-highlighting'
import EditableVoids from '../../examples/editable-voids'
import Embeds from '../../examples/embeds'
import ForcedLayout from '../../examples/forced-layout'
@@ -35,6 +36,7 @@ const EXAMPLES = [
['Checklists', CheckLists, 'check-lists'],
['Editable Voids', EditableVoids, 'editable-voids'],
['Embeds', Embeds, 'embeds'],
['Code Highlighting', CodeHighlighting, 'code-highlighting'],
['Forced Layout', ForcedLayout, 'forced-layout'],
['Hovering Toolbar', HoveringToolbar, 'hovering-toolbar'],
['Huge Document', HugeDocument, 'huge-document'],