Skip to content

Add H4, H5 and H6 operations - #1

Open
riasvdv wants to merge 1 commit into
panphora:mainfrom
riasvdv:h4-h6
Open

Add H4, H5 and H6 operations#1
riasvdv wants to merge 1 commit into
panphora:mainfrom
riasvdv:h4-h6

Conversation

@riasvdv

@riasvdv riasvdv commented Jun 12, 2026

Copy link
Copy Markdown

insertHeader has support for H1 through H6, but markdown-actions only had operations for H1-H3, this adds H4 through H6 operations and detection


Summary by cubic

Adds H4–H6 header operations and detection to markdown-actions, so users can toggle and detect headers up to H6. Aligns the UI and detection with existing insertHeader support.

  • New Features
    • Added toggleH4, toggleH5, toggleH6 APIs.
    • Extended getActiveFormats to detect header-4, header-5, header-6.
    • Exported new toggles and added H4–H6 buttons in test-browser.html.

Written for commit d2cfd15. Summary will update on new commits.

Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant