Markdown shortcuts
Type markdown prefixes + Space to convert.
Import
typescript
import { markdownShortcutsPlugin } from 'halka/plugins/markdown-shortcuts';Usage
- Type at the start of a line, then press Space to convert
- # / ## / ### + Space → headings
- > + Space → blockquote
- - + Space → bullet list, 1. + Space → numbered list
Notes
# → h1, ## → h2, > → blockquote, - → ul, 1. → ol