FFans Clipboardjs

Add a modern approach to copy code to clipboard with code language display.

Compatible with Flarum v1.8.5

Latest release v1.0.0

2,151 downloads

released on Mar 11, 2021

Tags

FFans Clipboardjs

License Latest Stable Version

A Flarum extension. Use Clipboardjs to add copy code approach with code language display to your Flarum. You can choose 7 different button styles, like 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

Settings

image

Installation

Install manually with composer:

composer require ffans/clipboardjs

Updating

composer update ffans/clipboardjs

Links

© 2024 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.