lucacr / brackets-specRep

brackets extension that searches through and replaces any special characters with relevant code equivalent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brackets specRep - A Special Characters Replacer

Brackets extension that will replace certain special characters (listed below) for ease of use when creating/editing emails for campaign purposes.

Replaced characters (minus the '.'):

short dash to &.ndash;

long dash to &.mdash;

£ to &.pound;

™️ to the TM logo &.#153;

:tick: to a heavy ascii tick &.#10004;

:c: to the copyright logo &.#169;

:r: to the registered logo &.#174;

’ to '

“ and ” to "

& (with a space on either side) to &.amp;

… to ...

Installation

To install this extension: In Brackets, under "Help" select "Show Extensions Folder". Place extension folder with files inside the "user" folder.

Older versions of Brackets this choice might be under "Debug" or might not exist at all.

Or just use the Extension Manager within Brackets.

Usage

Open or create a new file.

Once ready to switch characters, hit File > Replace Specials (or press Ctrl-Alt-0) to run the extension.

You can then save the changes after, or hit undo to completely undo the action.

Known issues

None as of yet.

About

brackets extension that searches through and replaces any special characters with relevant code equivalent.


Languages

Language:JavaScript 100.0%