JonasDoebertin / kirby-visual-markdown

Visual Markdown Editor for Kirby CMS 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

switching Heading type should replace current header

mcbrwr opened this issue · comments

First of all: Great plugin! Thanks!
Second of all: If I can make some time I'll see if I can resolve this myself and post a pull-request.

The issue: When I use a heading and then press the other heading button, the # marks are not replaced but added, so I get something like this:

## ### Heading switched from h2 to h3

Sounds reasonable. Great idea, I'll implement this as soon as possible!

Thanks 👍

This has been added to the develop branch.

thanks! I'll give it a go soon :-)