A simple way to show the information of a node package in Obsidian
Add {!npm <package_name>}
anywhere in your file. It should show the element when you switch over to preview mode.
- Clone this repo.
npm i
oryarn
to install dependenciesnpm run dev
to start compilation in watch mode.
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/your-plugin-id/
.