Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab in lists items results in invalid list indent itemization #810

Open
the42 opened this issue Nov 9, 2023 · 0 comments
Open

tab in lists items results in invalid list indent itemization #810

the42 opened this issue Nov 9, 2023 · 0 comments

Comments

@the42
Copy link

the42 commented Nov 9, 2023

Expected Behavior

Using tabs in list items should ident by default in a way that is compatible with most markdown tools. Markdown mode inserts two spaces while most tools expect four spaces (or a tab).

Actual Behavior

pressing tab on a list item to indent to the next deeper nested indentation level inserts two spaces instead of four

It is worth noting, that structure editing commands like C-right IMHO correctly work, as by default? shift by multiples of four. However, C-c > or C-c < also incorrectly? shift by mulitples of two.

Steps to Reproduce

open a markdown buffer and write

* Hello World<M-RET>

next line, write

Hi there<TAB>

You end up with

* Hello world
  * Hi there

Software Versions

Emacs 29.1, markdown 2.7-alpha

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

No branches or pull requests

1 participant