Skip to content

Commit 2e182be

Browse files
committed
update readme
1 parent 208a7cc commit 2e182be

File tree

1 file changed

+13
-29
lines changed

1 file changed

+13
-29
lines changed

README.md

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,22 @@
1-
# Lemons Plugin Template
1+
# Obsidian Shiki Plugin
22

3-
## Setup
3+
This plugin integrates [shiki](https://shiki.style/) into Obsidian, providing better syntax highlighting for over 250 languages.
44

5-
This uses [bun](https://bun.sh/), not node. So you need that installed. If you are on windows use WSL, if that does not work... good luck.
5+
This plugin works in reading mode and in live preview mode, as long as your cursor is not inside the code block.
66

7-
Things to change Checklist:
7+
## License
88

9-
- [ ] `manifest.json`
10-
- [ ] `package.json`
11-
- [ ] `versions.json`
12-
- [ ] `automation/config.js`
13-
- [ ] `.github/workflows/release.yml`
14-
- [ ] rename `exampleVault/.obsidian/lemons-plugin-template`
9+
[MIT](https://github.com/mProjectsCode/obsidian-shiki-plugin/blob/master/LICENSE)
1510

16-
If and **only if** you completed these steps, you can run `bun install` and `bun run dev` to start your plugin jorney.
11+
## Installation
1712

18-
## Scripts Explained
13+
### BRAT
1914

20-
- `dev` - build into the example vault with hot reload
21-
- `build` - build for release
22-
- `tsc` - run type checker
23-
- `test` - run your tests
24-
- `test:log` - run your tests with console output enabled
25-
- `format` - format your code
26-
- `format:check` - check the formatting of your code
27-
- `lint` - lint your code
28-
- `lint:fix` - lint your code and fix auto fixable mistakes
29-
- `check` - check for formatting, linting, type errors and run the tests
30-
- `check:fix` - fix formatting and linting errors, check for type errors and run the tests
31-
- `release` - run the script to release a new version
15+
1. Install and enable the `BRAT` plugin
16+
2. Run the `BRAT: Plugins: Add a beta plugin for testing` command
17+
3. Enter `https://github.com/mProjectsCode/obsidian-shiki-plugin` into the text field
18+
4. Click on `Add Pluign`
3219

33-
## References
20+
## Credits
3421

35-
- Sample plugin repo: https://github.com/obsidianmd/obsidian-sample-plugin
36-
- Obsidian help: https://help.obsidian.md/Home
37-
- Obsidian docs: https://docs.obsidian.md/Home
38-
- Obsidian API: https://github.com/obsidianmd/obsidian-api/blob/master/obsidian.d.ts
22+
This plugin uses the [shiki](https://shiki.style/) library and parts of the Dracula VSCode theme for syntax highlighting.

0 commit comments

Comments
 (0)