We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
align
In a table like the following:
alpha | beta | gamma ---: | :-----: | ----: delta | epsilon | zeta
a cell is translated into:
<td align="right"> ...</td>
Alignment is accomplished through the use of HTML align attribute which is considered obsolete for HTML5 tables. CSS is recommended by the W3C.
The text was updated successfully, but these errors were encountered:
This should be an easy fix. @chjj Do you want a PR for this?
Sorry, something went wrong.
A workaround for this is to create a rule in your own CSS, using the attribute. For example:
td[align="right"] { text-align: right; }
(I bet chjj doesn't want to add style attribute output to Marked...)
style
@adam-p Completely agree about leaving CSS out of the markdown engine. Your workaround is nice, thanks for sharing!
This will not work with images inside tables
No branches or pull requests
In a table like the following:
a cell is translated into:
Alignment is accomplished through the use of HTML
align
attribute which is considered obsolete for HTML5 tables.CSS is recommended by the W3C.
The text was updated successfully, but these errors were encountered: