-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Images cannot be resized within a Table #141
Comments
Semi-related, there a way to have the table or content automatically fit? I don't know CSS at all and was hoping for something with Obsidian that would work out of the box for content rescaling. |
Resizing images inside table cells is not that easy. By default
This styling can somewhat help. <style>
.reveal td{
position: relative;
}
.reveal td img{
position: absolute;
top: 0;
}
</style> |
Yeah, by default revealjs doesn't optimize layouting of tables, currently advanced slides doesn't modify the rendering of table. This will be a big change. I find it a pity that markdown spec has no syntax to describe table column & row properties. I will have a look at this topic when things get a little quieter in my daily job. |
Ahh ok thanks; this isn't a high priority request from my end since I figured out a solution for the presentation I wanted to do. |
Describe the bug
A clear and concise description of what the bug is. I believe this arises from the table reading the
|
symbol which is used to denote the image wiidth. I've tried versions where the|
is in a! [[ ]]
format as well as the
syntax. Both do not yield what the Obsidian preview yields.Samples to Reproduce
Paste the following into a markdown file.
I'm using the Obsidian 0.15.9
Example Table:
Expected behavior
To have the table either resize the content natively to have everything fit on the slide or to use the requested pixel size to resize the images.
The text was updated successfully, but these errors were encountered: