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

Markdown table column alignment #1050

Closed
dnmfarrell opened this issue Nov 11, 2014 · 5 comments
Closed

Markdown table column alignment #1050

dnmfarrell opened this issue Nov 11, 2014 · 5 comments
Labels

Comments

@dnmfarrell
Copy link

Cell alignment in markdown is ignored:

|ID|Name|Value|
|------|:---:|-----:|
|001|Bank ABC|5,740.00|
|002|Super Fund|1,2280.00|
|003|Big Savings Bank|430.00|

Should display as:

ID Name Value
001 Bank ABC 5,740.00
002 Super Fund 1,2280.00
003 Big Savings Bank 430.00

Instead you have to type this:

|ID|Name|Value|
|------|---|-----|
|001|Bank ABC<!-- .element: style="text-align:center;" -->|5,740.00<!-- .element: style="text-align:right;" -->|
|002|Super Fund<!-- .element: style="text-align:center;" -->|1,2280.00<!-- .element: style="text-align:right;" -->|
|003|Big Savings Bank<!-- .element: style="text-align:center;" -->|430.00<!-- .element: style="text-align:right;" -->|

To get revealjs to display properly. The flexibility is helpful but this reduces the benefits of using a markdown approach as the syntax is ugly and verbose. This is a barrier in getting revealjs adopted at $work, particularly by non-technical users.

Please just respect the markdown formatting!

Thanks

@jackfoxy
Copy link

+1

@fehmer
Copy link
Contributor

fehmer commented Feb 12, 2015

+1

1 similar comment
@GitHub-Lover
Copy link

+1

@hakimel
Copy link
Owner

hakimel commented Mar 2, 2015

Fixed by @fehmer in #1149

@hakimel hakimel closed this as completed Mar 2, 2015
@dnmfarrell
Copy link
Author

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants