Skip to content

Allow changing headings with # #7924

Closed
Closed
@ciceronianus

Description

@ciceronianus

In what scenarios do you need this feature?

Currently, if I write, e.g.,
# Headline
It will be converted into a headline:

Headline

That is a great feature! However, if I want to change the depth of the headline, I have to use backspace to return in into non-formatted state and then writte # again. This takes more time than necessary

Describe the optimal solution

When I position my cursor on the beginning of the line, it should be possible to change the depth of the headline in the same way as it was created.
E.g.,
original headline was:
# Headline
Then I position my cursor an the beginning and write two ##,
image
Then the headline is automatically converted into H2:
image
This would make process of changing headlines more consistent and easier.

Describe the candidate solution

No response

Other information

No response

Activity

changed the title [-]Allow changing headlines with #[/-] [+]Allow changing headings with #[/+] on Apr 8, 2023
changed the title [-]Allow changing headings with #[/-] [+]Allow changing headings with `#`[/+] on Apr 9, 2023
self-assigned this
on Apr 9, 2023
added this to the 2.8.4 milestone on Apr 9, 2023
added a commit that references this issue on Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@ciceronianus

      Issue actions

        Allow changing headings with `#` · Issue #7924 · siyuan-note/siyuan