Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cerebroapp/cerebro-snippets
📦Cerebro plugin to create snippets
https://github.com/cerebroapp/cerebro-snippets
cerebro cerebro-plugin cerebro-snippets codesnippet snippets
Last synced: about 2 months ago
JSON representation
📦Cerebro plugin to create snippets
- Host: GitHub
- URL: https://github.com/cerebroapp/cerebro-snippets
- Owner: cerebroapp
- License: mit
- Created: 2017-08-01T10:56:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-21T01:31:39.000Z (about 2 years ago)
- Last Synced: 2024-11-02T19:03:05.894Z (2 months ago)
- Topics: cerebro, cerebro-plugin, cerebro-snippets, codesnippet, snippets
- Language: JavaScript
- Homepage:
- Size: 3.31 MB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cerebro - cerebro-snippets - Cerebro plugin to create snippets from clipboard. (Plugins)
README
# cerebro-snippets [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
> [Cerebro](https://www.cerebroapp.com) plugin to create snippets
![plugin ussage gif](screenshot1.gif)
![plugin ussage gif 2](screenshot2.gif)
## Usage
In Cerebro, type one of the following commands:
- `snip style` - search snippet called style, selecting a snippet will copy the content to the clipboard
- `snipc test` - create snippet called "test"
- `snipd test` - delete snippet## Settings
You can disable the keyword `snip` for instant searching by typing `plugins snippets` and click on `settings`
## Syntax highlighting
Creating a snippet with a file extension will add syntax highlighting for that snippet: `snipc style.css`
## Related
- [Cerebro](https://github.com/cerebroapp/cerebro) - main repo for Cerebro app
- [Highlight.js](https://highlightjs.org/)
- [React-highlight](https://github.com/akiran/react-highlight)## License
[MIT © Puyt](LICENSE)