[nodebb-plugin-rainbows] Add beautiful rainbows to your posts. Smile!
-
Rainbows
This was one of the first plugins I made for NodeBB. Just recently updated it for 0.7.x and prettied it up.
Install
Install the usual way, either using the ACP "Extend=>Plugins" page or using npm from your NodeBB home directory:
npm i nodebb-plugin-rainbows
Usage
Surround text with "-= =-" to make rainbows.
-=Rainbow Text=-
Add options with parenthesis like so:
-=(red,yellow,blue,range:3)Rainbow Text=-
Options include:
- Any CSS valid color
- Adds that color to the spectrum used in the rainbow.
- range:{number}
- Repeats the spectrum after {number} characters, instead of stretching it over the whole text.
- bg:{color}
- Puts a background color {color} behind the text.
- theme:{name}
- Uses the theme {name} to make the rainbow. Themes are created in the ACP.
Examples
Normal Rainbows:
-=Smile! With the power of smiles, the world becomes connected.=-
Multi-line with options:
-=(blue,lightblue,blue,range:12)If you can keep your head when all about you
Are losing theirs and blaming it on you,
If you can trust yourself when all men doubt you,
But make allowance for their doubting too;=-
Multi-line with theme and embed link:
-=(theme:flutter)Here is a video in the middle of the rainbow
https://youtu.be/ukCYa6BbyYA
and the rainbow continues after...=-
ACP and Themes
Themes are controlled inside the fancy ACP page (With awesome colored nav!!
Fork me!!
GitHub - yariplus/nodebb-plugin-rainbows: Add rainbows to your posts. Smile!
Add rainbows to your posts. Smile! Contribute to yariplus/nodebb-plugin-rainbows development by creating an account on GitHub.
GitHub (github.com)
- Any CSS valid color
-
v1.1.0 Changes
- Fixed a few minor ACP issues.
- Rainbowifies signatures!
- Has a fancy composer GUI!
Here's a poor quality video showing it in action!
https://youtu.be/viSqOYPyTAwDefault version:
Redactor version: (Works the same but looks uglier. xD )
-
v1.2.0 Changes
- Added Rainbowify Tags option
Colors the Tag text based on the first three letters of its string.
You can adjust the color Hue if you don't like the prodominent colors.
You can adjust the color Brightness for blending in with different themes. -
Updated so it doesn't crash on 1.10+