mirror of
https://github.com/runofthemillgeek/swarnam-obsidian.git
synced 2024-11-16 15:30:16 +00:00
Update documentation.
This commit is contained in:
parent
ed3770792a
commit
dfd3fe233b
18
README.md
18
README.md
@ -1,21 +1,29 @@
|
|||||||
### Obsidian Sample Plugin
|
## Obsidian Sample Plugin
|
||||||
|
|
||||||
This is a sample plugin for Obsidian (https://obsidian.md).
|
This is a sample plugin for Obsidian (https://obsidian.md).
|
||||||
|
|
||||||
This project uses Typescript to provide type checking and documentation.
|
This project uses Typescript to provide type checking and documentation.
|
||||||
The repo contains the latest plugin API (obsidian.d.ts) in Typescript Definition format, which contains JSDoc comments describing what it does.
|
The repo contains the latest plugin API (obsidian.d.ts) in Typescript Definition format, which contains TSDoc comments describing what it does.
|
||||||
|
|
||||||
#### How to use
|
**Note:** The Obsidian API is still in early alpha and is subject to change at any time!
|
||||||
|
|
||||||
|
### Compatibility
|
||||||
|
|
||||||
|
Custom plugins are only available for Obsidian v0.9.7+.
|
||||||
|
|
||||||
|
The current API of this repo targets Obsidian **v0.9.7**.
|
||||||
|
|
||||||
|
### How to use
|
||||||
|
|
||||||
- Clone this repo.
|
- Clone this repo.
|
||||||
- `npm i` or `yarn` to install dependencies
|
- `npm i` or `yarn` to install dependencies
|
||||||
- `npm run dev` to start compilation in watch mode.
|
- `npm run dev` to start compilation in watch mode.
|
||||||
|
|
||||||
#### How to install the plugin
|
### How to install the plugin
|
||||||
|
|
||||||
- Copy over `main.js`, `styles.css`, `manifest.json` to your vault `vault/.obsidian/plugins/plugin-id/`.
|
- Copy over `main.js`, `styles.css`, `manifest.json` to your vault `vault/.obsidian/plugins/plugin-id/`.
|
||||||
|
|
||||||
#### Plugin structure
|
### Plugin structure
|
||||||
|
|
||||||
`manifest.json`
|
`manifest.json`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user