This plugin integrates Markwhen into Obsidian.md. You can use markwhen syntax to create timelines.
Note
Latest release: 0.0.2
Document version: 0.0.2
Note
Make sure that you are not in the Restricted Mode.
- In Obsidian, open Settings.
- Under Community plugins, click Browse.
- Search for "Markwhen" and then select it.
- Select Install, then enable it.
You can also find and install Markwhen plugin here: https://obsidian.md/plugins?search=Markwhen
Register https://github.com/mark-when/obsidian-plugin
in BRAT to receive upcoming releases automatically before we got reviewed from Obsidian team!
- Go to the repo's latest release page, and download
main.js
,manifest.json
andstyles.css
(or the zip file). - Copy these files to your local path
[your vault]/.obsidian/plugins/markwhen/
. - Relaunch Obsidian, or refresh the plugin list, you will see this plugin.
- In the plugin list, enable
Markwhen
and enjoy!
Ensure you first have Obsidian installed, and set up a development vault.
You can download and enable the Hot-Reload plugin in the dev vault to experience a smooth debugging workflow. Every time main.js
, manifest.json
or styles.css
updates, it will trigger an auto-reload.
If the path to your vault is something other than ~/Documents/Obsidian Vault
, update copyAssets.sh
to point to your vault's location.
git clone git@github.com:mark-when/obsidian-plugin.git
cd obsidian-plugin
npm i
npm run vite
Since there's no watch command out-of-the-box, you can place the repo right in the dev vault config directory (i.e. [your vault]/.obsidian/plugins/markwhen/
), and set the outDir
to ./
in vite.config.ts
(vite complains about this).
cd your-dev-vault/.obsidian/plugins
git clone git@github.com:mark-when/obsidian-plugin.git markwhen
cd markwhen
npm i
npm run vite
Note
The plugin id in the manifest is markwhen
, indicating users will find their plugin under the .obsidian/plugins/markwhen
directory if they install this plugin from official Obsidian distribution.