Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2nthony/saika-code-block-buttons
Code block buttons for Saika above version `2.13.x`.
https://github.com/2nthony/saika-code-block-buttons
Last synced: about 2 months ago
JSON representation
Code block buttons for Saika above version `2.13.x`.
- Host: GitHub
- URL: https://github.com/2nthony/saika-code-block-buttons
- Owner: 2nthony
- License: mit
- Created: 2020-10-08T16:20:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:51:51.000Z (about 1 year ago)
- Last Synced: 2024-11-09T00:09:06.462Z (about 2 months ago)
- Language: JavaScript
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# saika-code-block-buttons
> Code buttons for Saika
Please consider starring the project to show your ❤️ and support.
[![CircleCI](https://badgen.net/circleci/github/evillt/saika-code-block-buttons?icon=circleci)](https://circleci.com/gh/evillt/saika-code-block-buttons/tree/master)
[![License](https://badgen.net/npm/license/saika-code-block-buttons)](./LICENSE)
[![donate](https://badgen.net/badge/support%20me/donate/f2a)](https://donate.evila.me)You can visit the official showcase in [saika codeBlockButtons](https://saika.dev/#/reference/options#codeblockbuttons-badge-contentsaika-2130-).
## Usage
Load this via `` tag:
```html
<!-- Load this after saika.js -->
<script src="https://cdn.jsdelivr.net/npm/saika-code-block-buttons">
```This is exposed as `window.saikaCodeBlockButtons`:
```js
new Saika({
codeBlockButtons: [saikaCodeBlockButtons.copyCode]
})
```## Buttons
### copyCode
Copy the code in code block.
Will add more in future...
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**saika-code-block-buttons** © [evillt](https://github.com/evillt), Released under the [MIT](./LICENSE) License.
Authored and maintained by **EVILLT** with help from contributors ([list](https://github.com/evillt/saika-code-block-buttons/contributors)).
> [evila.me](https://evila.me) · GitHub [@evillt](https://github.com/evillt) · Twitter [@evillt](https://twitter.com/evillt)