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

Tables are reduced despite non breaking spaces #741

Open
Louson opened this issue Jan 9, 2023 · 2 comments
Open

Tables are reduced despite non breaking spaces #741

Louson opened this issue Jan 9, 2023 · 2 comments

Comments

@Louson
Copy link

Louson commented Jan 9, 2023

Expected Behavior

I build a table using non-breaking spaces after Name to force the 'Name' column width :

| Date       | Name                       |
|  ---------- |-------------------------- |
| dddd | Name |

If I press tab, the non-breaking spaces shall remain.

Actual Behavior

Non-breaking spaces are deleted


| Date | Nom  |
|------|------|
| dddd | Name |

Software Versions

  • GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-09-12
  • markdown-mode, version 2.5
@syohex
Copy link
Collaborator

syohex commented Jan 10, 2023

How about (setq markdown-table-align-p nil) ?

@Louson
Copy link
Author

Louson commented Jan 10, 2023

Sorry, let me detail the expected behaviour (I don't want to disable alignment)

I believe the result after 'tab' should be:

| Date       | Name                       |
| ---------- |--------------------------- |
| dddd       | Name                       |

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

2 participants