A simple Obsidian plugin to split the editor into resizable columns. This plugin allows users to create flexible, resizable column layouts in their markdown notes.
- Split your editor into multiple columns (2 to 4 columns).
- Resizable columns with draggable dividers.
- Easy to use and highly customizable.
- Download the latest release from GitHub.
- Copy the contents to your Obsidian plugins folder:
YourVault/.obsidian/plugins/flexible-columns/ - Enable the plugin in Obsidian’s settings under Community Plugins.
If you want to develop or modify this plugin yourself, follow these steps:
-
Clone this repository:
git clone https://github.com/your-username/flexible-columns.git cd flexible-columns -
Install dependencies:
npm install
-
Build the plugin:
npm run build
-
Link the plugin to your Obsidian vault:
- Copy the contents of the
dist/folder and themanifest.jsonto your Obsidian vault's plugins directory:
YourVault/.obsidian/plugins/flexible-columns/ - Restart Obsidian or reload the plugins.
- Copy the contents of the
To insert columns in your markdown note, use the following syntax:
```columns
First column content
___
Second column content
___
Third column content
```You can also insert columns using the context menu:
- Right-click in your markdown editor.
- Select Insert Columns and choose the number of columns (2, 3, or 4).
To build the plugin and create a new main.js file, run:
npm run buildThis will compile TypeScript to JavaScript and bundle it into the dist/ folder.
To test the plugin locally:
- Navigate to your Obsidian vault.
- Open the
.obsidian/plugins/flexible-columns/folder. - Copy the contents from
dist/and themanifest.jsoninto this folder. - Reload your plugins in Obsidian.
This plugin is open-source and available under the MIT License. See the LICENSE file for more details.
Feel free to submit issues, pull requests, or suggestions. Enjoy using Flexible Columns in Obsidian!