Advanced Tables Plugin

That’s what I mentioned I was working on for a while. Unfortunately the minimum height for a pane in Obsidian is very tall, so it would not end up looking nearly that nice, and would waste quite a bit of space. That height seems to be enforced by some JS in Obsidian itself, so even if I manually overrode it, it would snap back next time you touch something :confused:

Ah sorry, I misunderstood. I thought you meant sitting above the table within the editor.
It’s a shame there is a minimum height and width for panes.

Love the plugin! I ran into a few issues with the formatting being a little wonky in the editor mode if the table had links or emoji’s (non-monospace font).

Anyways I added the following piece of css code to my theme (Cybertron) to sort out the font issue. Had to remove the emoji’s as well (was using it as a visual display for a ratings column) and everything looks to be working now!

.HyperMD-table-row span {
	font-family: 'Source Code Pro' !important;

@bball2: a tip: don’t make amendments/additions to the theme’s css code because they’ll get overwritten during an update of the theme.

Better to add the amendments/additions to a snippet, then enable the snippet. Snippets are independent from the theme and therefore do not get overwritten.


Cheers, thanks for the tip!

I definitely was not doing that before :stuck_out_tongue:

At least I made all the changes at the bottom of the stylesheet, so it was easy to move over into a snippet! :+1:

1 Like

Is there a way to ease writing out longer content within cells? See this screenshot. If I want to put multiple sentences in one cell, the markdown on the left side gets way too wide and long

@richardrl: text wrapping in tables in Edit mode is not possible.

I’m currently using section transclusion to add long texts in a table

@fscheidt: by “section transclusion” I assume you mean a block transclusion/block reference?

If so, I cannot get that to render correctly in a table: the block renders fine but the table itself does not.

An example:


renders as this


Hi @Klaas exactly, I mean block transclusion. Take a look at the images below, I think it’s pretty self-explanatory:


Preview result:

1 Like

Can you please clarify how to multiply a cell by a scalar? like $4*1.1? I can’t seem to get this to work, nor the same with any kind of bracket that makes sense. Thanks.

Is it possible to sort a table with a formula? For example to calculate the values of a given column with one formula, and with the second formula to sort the rows from min to max?

Here’s an example of multiplying by a scalar. In this example I multiply column A by 5.

| A   | B   |
| --- | --- |
| 2   | 10  |
<!-- TBLFM: $2=($1*5) -->

You will need to evaluate the formula (using the button in the toolbar) then sort the table afterwards using the button in the toolbar. Sorting is a manual button click, and not available from within a formula.

More information can be found in this document.

Thanks a lot for your quick reply. The formula you gave works. Seeing as the answer is so obvious I started looking at why I had problems. I was trying to multiply by a decimal number, like 1.1, and I am not able to do it. Is there something to take into considerations with decimals? Here is the formula I am setting up:

<!-- $>=(($4 * 0.8)+($5 * 1.2)) -->

1 Like

Ah, it looks like you have found a bug. Thank you for reporting it. I have filed an issue here: Algebra with decimals cannot be parsed in formulas · Issue #18 · tgrosinger/md-advanced-tables · GitHub

I haven’t been working on that project for a bit though, so I’m not sure when I’ll be able to get back to that one. But when I do I’ll be sure to fix that :slight_smile:


Thanks. I hope you get to it and that the plugin continues growing. Your implementation of tables is very helpful and before it I did not use tables in Obsidian. I realize that formulas are a bit of an advanced use case here though.

Have you considered monetizing development? I mean in the sense of allowing people to vote/support bugs/features with their money. This type of system has been on my mind for ages, but I don’t actually know whether it’s been implemented, so I my suggestion may not even possible.

There are some links to ways you can support me in the plugin settings page and in the Github sidebar. But of course the contributions are completely voluntary.

Is there a way to put to do items in a table? The usual formatting of - [ ] doesn’t render correctly.

Hey @Grey, unfortunately I do not believe that there is. Advanced Tables only has an effect on table editing, not how they are rendered in preview mode. This might be something you could post about in the feature request section though to see if the Obsidian developers could work on it. You’re definitely not the first to ask.

Here’s an similar question.