This plugin for Obsidian (https://obsidian.md) allows you to display footnotes as sidenotes in the margins of your notes. For now it is desktop only, as I haven't tested it on mobile yet.
- Converts footnotes to sidenotes displayed in the margin
- Dynamic layout adjusts based on screen size
- Customizable settings for sidenote positioning and behavior
- Supports both left and right margin positioning
- Inline mode for narrow screens with grouping options
- There are some issues related to the positioning of the sidenotes when they are supposed to be rendered on the left margin. Specifically, if the footnote is referenced in indented text the sidenote will also be indented.
- Open Obsidian and go to Settings > Community Plugins
- Disable Safe Mode
- Click "Browse" and search for "Sidenotes"
- Install the plugin and enable it
Once enabled, the plugin will automatically convert footnotes in your notes to sidenotes. You can customize the behavior in the plugin settings.
- Enable sidenotes: Toggle sidenotes visibility
- Sidenotes position: Choose which side to display sidenotes (left or right)
- Dynamic sidenotes: Adjust sidenotes layout based on screen size
- Group inline sidenotes: Group sidenotes by paragraph when inline
- Inline breakpoint: Screen width at which sidenotes become inline
- Sidenotes comfort zone: Minimum width for sidenotes before switching to inline mode
This plugin is developed using TypeScript and the Obsidian API.
- Clone this repository to your local machine
- Make sure you have NodeJS installed (v16 or newer)
- Run
npm installin the project folder to install dependencies - Run
npm run devto start the compilation in watch mode
npm run buildcompiles the plugin intomain.jsnpm run devcompiles and watches for changes, useful during development
- Copy
main.js,styles.css, andmanifest.jsonto your vault's.obsidian/plugins/sidenotes-plugin/directory - Reload Obsidian to load the new version of your plugin
- Enable the plugin in Obsidian's settings
Contributions are welcome! Please feel free to submit a Pull Request.
If you find this plugin helpful, you can support its development by:
- Donating to charity or supporting obsidian.md directly.
This plugin was inspired by the sidenotes feature in many academic and literary works, aiming to bring that experience to Obsidian users.