Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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)