Skip to content

Bring Notion-style layouts to Obsidian — with side-by-side, resizable markdown blocks that support full Obsidian syntax including images, embeds, and internal links.

License

Notifications You must be signed in to change notification settings

iCodeAlchemy/horizontal-blocks

Repository files navigation

🧱 Horizontal Blocks Plugin

Bring Notion-style layouts with blocks side-by-side, resizable markdown blocks that support full Obsidian syntax including images, embeds, and internal links.


✨ Features

  • 🔲 Side-by-side markdown blocks using horizontal code block
  • 📏 Resizable columns with a draggable divider
  • 🧠 Dynamic layout — support for 2 or more columns using --- separator
  • 🖼️ Auto-scaling images inside blocks
  • 💾 Block width persistence — remembers layout when you return

🚀 Examples

Code 1:

```horizontal  
### Block 1  
This is the left block.  
---
### Block 2  
This is the right block.  
```

Preview 1:

img.png

Code 2:

```horizontal  
### Left Block  
This is the left block.  
---
### Middle Block  
This is the middle block.
---
### Right Block  
This is the right block.  
```

Preview 2:

img.png

Code 3:

```horizontal
### Left Block
This is free text
- Item 1
- [ ] Item 2
- **Item 3**

This is a ***formatted*** **text**
---
### Right Image Block
![[test_image.png]]
```

Preview 3:

img_1.png

🐞 Contributing

Contributions via bug reports, bug fixes, documentation, and general improvements are always welcome. For more major feature work, make an issue about the feature idea / reach out to me so we can judge feasibility and how best to implement it.


👏🏼 Support

Have you found the Horizontal Blocks plugin helpful, and want to support it? I welcome donations to support future development efforts. However, I typically do not accept payments for bug bounties or feature requests, as financial incentives can create stress and expectations that I prefer to avoid in my hobby project!

Support @iCodeAlchemy:

Buy Me A Coffee

About

Bring Notion-style layouts to Obsidian — with side-by-side, resizable markdown blocks that support full Obsidian syntax including images, embeds, and internal links.

Resources

License

Stars

Watchers

Forks

Packages

No packages published