Add H4-H6, strikethrough formatting & buttons

Draft
RI
19d ago
+181-10

Preemptive PR for https://github.com/panphora/markdown-actions/pull/1 and https://github.com/panphora/markdown-actions/pull/2


Summary by cubic

Adds H4–H6 header support and strikethrough formatting across the editor. Updates the parser, toolbar, icons, styles, themes, docs, and TypeScript types; the default toolbar now includes Strikethrough.

  • New Features
    • Parser: supports #–###### headers with tests for H4–H6.
    • Toolbar/UI: adds strikethrough, h4, h5, h6 buttons; default includes strikethrough; new icons.
    • API/Types: exposes markdownActions.toggleStrikethrough and toggleH4–toggleH6; adds matching toolbarButtons; updates overtype.d.ts and generated types.
    • Styles/Themes/Docs: colors and preview sizes for H4–H6; updates solar and cave themes; README documents new actions and supported headers.