avatarPrakash Joshi Pax

Summary

The web content provides a guide on creating multi-column layouts in Obsidian using the Modular CSS Layout plugin, enhancing the visual organization of notes.

Abstract

Obsidian, a markdown-based editor, typically does not support multi-column layouts natively. However, the article introduces the Obsidian Modular CSS Layout plugin by Faiz Khuzaimah, which enables users to implement such layouts. The plugin offers CSS snippets for creating image galleries, multi-column text, and full-width pages. The article focuses on the multi-column CSS, detailing how to add it to an Obsidian vault and demonstrating various methods to create multi-column layouts, including using callouts, float callouts, and blank callouts. It also covers list layouts such as list columns, list grids, and list cards. The guide concludes by directing readers to further explore the plugin's features and suggests that mastering these layouts can significantly improve note-taking and dashboard setups in Obsidian.

Opinions

  • The author expresses that the multi-column layouts made possible by the Modular CSS Layout plugin can create a "beautiful look" in Obsidian notes, implying a positive aesthetic impact.
  • The process of adding CSS snippets to an Obsidian vault is described as "easy," suggesting that users should not find the installation and activation of the plugin to be overly complex.
  • The author provides a step-by-step guide and examples, indicating a belief in the importance of clear instructions for a smooth user experience.
  • By mentioning the "Obsidian Ninja" series and recommending ZAI.chat, the author seems to value community resources and cost-effective AI services that complement the Obsidian experience.
  • The use of phrases like "Easy, peasy" and "Note: Two callouts should be separated by leaving a line" conveys a friendly and helpful tone, aiming to reassure and guide users through the process.

How to Create Multi-Column Layouts in Obsidian

Obsidian is a markdown-based editor and it does not have any support for multiple-column layout.

But thanks to the Obsidian community, there are lots of options available.

In this article, we’ll talk about creating multiple-column layouts in Obsidian with the help of modular CSS layout.

Below is a screenshot from the Life OS vault I created at the beginning of the year. This beautiful look is all possible with the help of multi-column layouts.

You can watch the setup video here.

Doesn’t it look beautiful?

Of course, it does.

In this article, we’ll learn how you can create multi-column layouts in your Obsidian notes.

Modular CSS Layout for Obsidian

Obsidian Modular CSS layout by Faiz Khuzaimah is a CSS repository with CSS layout hacks. It has the following three CSS snippets.

  • MCL Gallery Cards: It lets you create Image gallery
  • MCL Multi Column: It lets you create multi-column layout in your notes
  • MCL Wide Views: It provides support for full-width page per note basis

We’ll only talk about multi-column CSS in this article.

Adding CSS snippets

Adding CSS snippets to your vault is easy. Here’s a step-by-step guide.

Download the MCL multi-column CSS file from the repository and add it to your vault.

Once you add it. Enable the CSS snippet.

Now let’s learn how you can create the multi-column layout with this MCL multi column CSS.

Multi-Columns with Callouts

There are a few different ways to create the multi-column layout. Let’s first talk about creating one with callouts.

For that, first, you need to create a multicolumn callout. It is a custom callout type created with the CSS.

Then you need to create sub callout under the multi-columncallout.

> [!multi-column]
>
>> [!note]+ Work
>> your notes or lists here. using markdown formatting
>
>> [!warning]+ Personal
>> your notes or lists here. using markdown formatting
>
>> [!summary]+ Charity
>> your notes or lists here. using markdown formatting

Note: Two callouts should be separated by leaving a line. The line separating callouts should use only 1 angle bracket. (>)

You can also nest callout under the sub-callouts.

Easy, peasy.

Float Callout

Float callout allows you to create a side node or info box either to the right or either to the left side of the main note.

Here’s how to create a float callout.

> [!info|left]
> Addition note to the main article

Content of the main article

Add left or right to the regular callout. And make sure the callout is above the content you want to have it wrapped around.

You can also adjust the width of the callout to suit your needs. These 3 width options are available.

  • -small: default width 300px
  • -medium: default width 400px
  • -large: default width 600px

Blank Callout

The blank callout is a custom callout that removes the decoration around it. It provides an invisible container for the callout.

> [!multi-column]
>
>> [!note]+ Work
>> your notes or lists here. using markdown formatting
>>> [!note]+ Work
>>> your notes or lists here. using markdown formatting
>> your notes or lists here. using markdown formatting
>
>> [!blank]+ Personal
>> your notes or lists here. using markdown formatting
>
>> [!summary]+ Charity
>> your notes or lists here. using markdown formatting

The middle callout here is a blank callout.

This can be useful in cases where you want to have an invisible container for the embedded content.

List Column, List Grid, & List Card

List layout allows you to create multi-column layout using unordered list.

You can use #mcl/list-column on the top-level list to create one.

List grid callout allows you to create multiple columns and multiple rows using unordered list.

You can do this simply by changing the hashtag in the unordered list from #mcl-list-column to #mcl-list-grid.

List card is similar to the grid layout but it has some extra customization to give it card like look.

Use #mcl-list-card on the top-level list item for this.

Conclusion

These are some basics on how you can create multiple column layouts in Obsidian with the help of Obsidian modular CSS layout.

You can explore more features from this documentation section, like width control and using Cssclasses.

Multi-column CSS from modular CSS layout is a great way to enhance your experience in Obsidian. This can help you to create your notes better.

It can be useful, especially in cases where you want to create homepage setups or dashboard setups.

If you found this article valuable, you’d love Obsidian Ninja.

Obsidian
Productivity
Knowledge Management
Second Brain
Recommended from ReadMedium