https://github.com/iVariable/Obsidian-Format-Code
https://github.com/iVariable/Obsidian-Format-Code
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/iVariable/Obsidian-Format-Code
- Owner: iVariable
- License: mit
- Created: 2022-03-19T13:28:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T18:38:44.000Z (over 2 years ago)
- Last Synced: 2025-04-14T03:39:22.515Z (about 2 months ago)
- Language: JavaScript
- Size: 292 KB
- Stars: 23
- Watchers: 2
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - iVariable/Obsidian-Format-Code - (JavaScript)
README
## Obsidian Format Code plugin
This is a plugin for [Obsidian](https://obsidian.md) that introduces
custom commands to format code.Currently supports the following languages:
- JSON
- YAML
- HTML
- GraphQL
- TypeScript[Prettier](https://github.com/prettier/prettier) is used under the hood.
### How to use

### How to install
Until this plugin is not published in the Obsidian ecosystem you
can install it using [How to develop](#how-to-develop) instructions### How to develop
1. Clone the repository to `.obsidian/plugins/obsidian-format-code`
2. `npm i`
3. `npm run dev`
4. Launch Obsidian
5. Enable plugin in the Obsidian settings under "Community plugins" > "Installed plugins"" >"Format code"