-
Notifications
You must be signed in to change notification settings - Fork 137
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
tables don't work when wrapped in a div #233
Comments
Actually this is a double of #228 but it is not clear if and when #228 will be implemented. For your special use case however an IAL will do the job
|
oh sorry you cannot put a Please participate in the discussion on #228 to underline your use cases. I will leave this issue open for some time if you have any questions or suggestions. |
I was interested to learn about the IAL syntax; that's new to me. However, although it does add a style attribute to the table tag, it doesn't resolve my use case. Apparently, there is some interaction with tablesorter, CSS, etc. Specifically, although I was able to change the text color using the IAL, trying to change the width had no effect as long as tablesorter was active. Here is some relevant code from the layout templates:
And here is some from my CSS:
|
As long as #228 is unresolved & you're able to edit the given markdown,
Or alternativ with an additional style.
This both workarounds are only working as long as your table is aligned with white spaces. |
@RichMorin sorry replied in the wrong issue LOL In case you did not see my reply here it goes again: Indeed, quite thoughtful of you. Yeah I was afraid that the IAL would not cut it. I believe that #228 is a really worthy goal, but it is a little bit complicated. |
Earmark's tables don't work when wrapped in a
div
, e.g.:The result is that the Markdown source code for the table is displayed in a raw format, e.g.:
Incidentally, this technique was suggested on Stack Overflow:
https://stackoverflow.com/questions/36121672/set-table-column-width-via-markdown
The text was updated successfully, but these errors were encountered: