Skip to content

Fix/rte convert bad headings#2548

Merged
andrewleith merged 7 commits intomainfrom
fix/rte-convert-bad-headings
Feb 10, 2026
Merged

Fix/rte convert bad headings#2548
andrewleith merged 7 commits intomainfrom
fix/rte-convert-bad-headings

Conversation

@andrewleith
Copy link
Copy Markdown
Member

@andrewleith andrewleith commented Feb 3, 2026

Summary | Résumé

This pull request introduces improvements to the markdown editor's handling of headings. It adds a feature that automatically corrects common markdown heading formatting mistakes, ensuring consistent rendering in the editor.

During markdown conversion, the following 2 things will now happen:

  • #heading will be changed to # heading
  • #subheading will be changed to # subheading

Test instructions | Instructions pour tester la modification

  • Switch to markdown mode
  • Enter a heading with the wrong syntax (ie. #Heading or ##Subheading)
  • Switch to editor
  • Ensure headings convert to h1/h2 as appropriate
  • Switch to markdown
  • ensure markdown has been fixed (i.e. # Heading or ## Subheading)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 3, 2026

@andrewleith andrewleith merged commit 63c444d into main Feb 10, 2026
10 checks passed
@andrewleith andrewleith deleted the fix/rte-convert-bad-headings branch February 10, 2026 12:59
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.

2 participants