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

Table alignments are not working #847

Open
katiuskt opened this issue Apr 13, 2024 · 2 comments
Open

Table alignments are not working #847

katiuskt opened this issue Apr 13, 2024 · 2 comments
Labels
enhancement New feature or request help wanted If you're willing to help, do!

Comments

@katiuskt
Copy link

katiuskt commented Apr 13, 2024

According https://silverbullet.md/Markdown/Extensions I would expect tables alignment to be supported by SilverBullet but it looks like they don't (is always left aligned regardless your MD text):

| Not specified alignment| Centered aligned | Aligned to the right |
| --- | :---: | ---: |
| Test1 | Test1 | Test1 |
| Test2 | Test2 | Test2 |

SilverBullet (docker installation, latest release available 0.7.6)
imagen

Same code, another MD editor (snap from obsidian):
imagen

@zefhemel zefhemel added the bug Something isn't working label Apr 14, 2024
@zefhemel
Copy link
Collaborator

Indeed, this has not been implemented yet.

@zefhemel zefhemel added enhancement New feature or request help wanted If you're willing to help, do! and removed bug Something isn't working labels Apr 18, 2024
@djm2k
Copy link

djm2k commented Apr 28, 2024

I'm looking at this one, I found another issue with this example where missing | at the start/end of a line should still be parsed as a table.
Will open a PR to address the following:

  • parseRow does not handle colons : to indicate align HTML properties for table columns
  • parseRow does not support a mismatched number of pipes in data rows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted If you're willing to help, do!
Projects
None yet
Development

No branches or pull requests

3 participants