Most efficient way to create this, column or table?


I have a lot of use for lists that look like this:

What would be the most efficient way of achieving this?

1 Like

To preserve that kind of formatting you’ll need to use a table, something like:

| number | header 1 | header 2 |
| 20 | vingth | vahn |
| 21 | vingth-et-un | vahn-tay-ahn |

If you use the advanced tables plugin, the columns will align themselves in the edit mode, which I like a lot for stuff like this

I have advanced tables and have explored it.
Is there a way to get rid of the table borders and adjust column width?

You can use CSS snippets in combination with the cssclass property to
remove borders from the table within a note.

What theme are you using? And do you use live preview or reading mode?

Another way is to use multiple columns, my favorite is efemkay’s modular-css-layout

I really hope that future versions of Obsidian will add the ability to :

  • import csv and sheets so we don’t waste time anymore with tables when it comes to add pipes / entries manually.

I’ve yet to dive into the CSS realm, it’s all new to me, I’ll look into it.
I was using minimal theme but reverted back to default for now.
I also toggle between reading mode and editing mode all the time.

So far I’m having to accept that basic tables for my needs are 10x more efficient to do in Numbers (Mac), which I use a lot.
And then if need be I can just copy paste them onto Obsidian, which works pretty well.

I’m hoping to use Obsidian for everything, but so far the tables are keeping me in Numbers. Community is great though.

I’ll look into it.
+1 to your suggestion.

Sorry that it took me some time, but I’ve been kind of busy with other stuff, and I was kind of hoping that others might have chipped in on the CSS part.

If you insert the following in a CSS snippet:

.no_table_border .markdown-rendered td,
.no_table_border .markdown-rendered th {
  border: none;

And then insert the cssclasses: no_table_border into the properties of any file where you don’t want table borders, they’ll disappear in both live preview and reading.

Bonus tip: How to add a custom CSS snippet
  • Goto Settings > Appearance and scroll down to “CSS snippets” section, and hit the folder icon on the far right. This opens up a file explorer window, in the folder vault/.obsidian/snippets, which is were you want to save your css snippet
  • In this new window create a file, like myCss.css, where you copy the CSS into. Make sure this actually is a text file, and that the name ends in .css
  • Back in Obsidian, you should now see your myCss in the list of CSS snippets. If not, hit the refresh button
  • Final step is to click the enable button to the right of your file, and now your new CSS should be in effect
  • If you later on make changes in the CSS snippet file, the effect should be immediate. If not, try disabling and re-enabling the snippet, or in some strange cases, you would need to reload Obsidian. In 99% of the cases, the changes are immediate, though.