Skip to content

"chuck section" in markdown doesn't remove the trailing lines #2378

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

Closed
saidelike opened this issue May 31, 2024 · 3 comments · Fixed by #2489
Closed

"chuck section" in markdown doesn't remove the trailing lines #2378

saidelike opened this issue May 31, 2024 · 3 comments · Fixed by #2489
Assignees
Labels
lang-markdown Support for the Markdown family of markup languages

Comments

@saidelike
Copy link
Collaborator

with this markdown text originally:

# hello

this is a text

# title 2

this is another text

saying chuck section row one, we get:



# title 2

this is another text

notice the 2 spaces above title 2. NOTE: the same result happens when saying change section row one.

saying chuck section row one, I would expect it to delete the trailing lines, similarly to deleting a function on some language like Python

# title 2

this is another text
@auscompgeek auscompgeek added the lang-markdown Support for the Markdown family of markup languages label Jun 1, 2024
@pokey
Copy link
Member

pokey commented Jun 1, 2024

Can't decide whether this one warrants its own issue. See #855 (comment)

@pokey
Copy link
Member

pokey commented Jul 28, 2024

I believe this is still broken if you chuck the last section

@AndreasArvidsson
Copy link
Member

I believe this is still broken if you chuck the last section

A couple of trailing empty lines in the document is fine. Any decent code formatter will take care of that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-markdown Support for the Markdown family of markup languages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants