1.0.0 • Published 9 years ago
extplug-chat-markup v1.0.0
Chat Markup
Applies some markdown/slack/reddit-like markup to chat messages.

Translations:
_italic_becomes italic*bold*becomes bold`code`becomescode~strike~becomes strike
Markup can be nested, so
_italic *bolddd*_becomes italic bold~`error`~becomeserror
But markup does not nest inside code blocks, so
`a _line_ of code`becomesa _line_ of code*a `code ~block~`*becomes acode ~block~
Also, markup does not apply when it starts halfway through a word, so
hello @_username_stays hello @_username_https://mysite.com/some_web_pagestays https://mysite.com/some_web_page
Basically, it attempts to do what you would expect.
Installation
If you do not have ExtPlug yet, get it here.
You can install this plugin by going to your ExtPlug settings menu, pressing "Install Plugin", and entering this Plugin URL:
https://extplug.github.io/chat-markup/build/chat-markup.js;extplug/chat-markup/mainBuilding
Note: this section is intended for developers only.
First, install dependencies:
npm installThen, use:
npm run buildThe plugin will be built using the ExtPlug CLI.
The built plugin will be stored at build/chat-markup.js.
License
1.0.0
9 years ago