Copy Code to your Clipboard & display the code language
![Packagist](https://img.shields.io/packagist/dt/ffans/clipboardjs?color=%2396c40f)
![extiverse card](https://extiverse.com/extension/ffans/clipboardjs/card.png)
🚀 v1.0.0 - 2021/8/21
Use Clipboardjs to add copy code approach with code language display to your Flarum. You can choose 7 different button styles, including GitHub, SegmentFault, etc.
Supports 47 common languages by default:
.properties, apacheconf, bash, bbcode, c, csharp, css, cpp, coffeescript, diff, django, docker, dockerfile, git, go, html, ini, java, javadoc, js, json, less, lua, makefile, markdown, nginx, objectivec, perl, php, powershell, properties, python, python-repl, regex, ruby, rust, sass, scss, sql, stylus, swift, typescript, vim, visual-basic, vue, xml, yaml.
![6toJyt](https://user-images.githubusercontent.com/35162802/130313457-23f9dc34-a5c1-450e-aa1e-92e3996d4c99.png)
Settings
![image](https://user-images.githubusercontent.com/35162802/130313428-0f8ff559-0c22-4aac-b69f-afa1a56bfea1.png)
Installation
Via composer:
composer require ffans/clipboardjs
Update
composer update ffans/clipboardjs
Links