markdown-mode
markdown-mode copied to clipboard
Table centering does not center the cell
When writing a table using a column that should be centered (with the header ":-:"), pressing TAB
does not center cells under this heading. Left and right justification work as expected.
Expected Behavior
Cells under a center justification header should have their contents centered.
Actual Behavior
Cells under a center justification remain left-justified.
Steps to Reproduce
- Open a new buffer set to
markdown-mode
. - Paste the following text into the buffer:
|Left|Right|Center|Default|
|:-|-:|:-:|-|
|1|2|3|4|
- Put the cursor anywhere in the table and press
Tab
.
Software Versions
- Markdown Mode: 2.5 dev
- Emacs: 26.1
- OS: Windows 10 and Mac OS