Thinkmill / keystatic

First class CMS experience, TypeScript API, Markdown & YAML/JSON based, no DB
https://keystatic.com
MIT License
1.24k stars 79 forks source link

handle markdown table column alignment #1117

Open stefanprobst opened 6 months ago

stefanprobst commented 6 months ago

currently, the mdx field will remove any table column alignment on save:

| title | counts |
| ----- | -----: |
| one   | 1      |
| two   | 123    |

will be saved as:

| title | counts |
| ----- | ------ |
| one   | 1      |
| two   | 123    |

(note that the colon : which marks the column alignment is removed)

tpougy commented 1 week ago

Any news on this issue? A fix for this bug would be of great help to my blog since Im trying to use keystatic to manage the content.