Skip to content

Commit e6df781

Browse files
authored
Use new website demo links
1 parent ef78342 commit e6df781

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

plugins/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,49 +13,49 @@ is activated for.
1313

1414
Files: [auto-close-brackets.js](./auto-close-brackets.js)
1515

16-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/qBgGGKR)
16+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-auto-close-brackets)
1717

1818
### Autocomplete
1919
Display a popup under the caret using the text in the code-input element. This works well with autocomplete suggestions.
2020

2121
Files: [autocomplete.js](./autocomplete.js) / [autocomplete.css](./autocomplete.css)
2222

23-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/xxapjXB)
23+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-autocomplete)
2424

2525
### Autodetect
2626
Autodetect the language live and change the `lang` attribute using the syntax highlighter's autodetect capabilities. Works with highlight.js.
2727

2828
Files: [autodetect.js](./autodetect.js)
2929

30-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/eYLyMae)
30+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-autodetect)
3131

3232
### Find and Replace
3333
Add Find-and-Replace (Ctrl+F for find, Ctrl+H for replace by default, or when JavaScript triggers it) functionality to the code editor.
3434

3535
Files: [find-and-replace.js](./find-and-replace.js) / [find-and-replace.css](./find-and-replace.css)
3636

37-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/oNVVBBz)
37+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-find-and-replace)
3838

3939
### Go To Line
4040
Add a feature to go to a specific line when a line number is given (or column as well, in the format line no:column no) that appears when (optionally) Ctrl+G is pressed or when JavaScript triggers it.
4141

4242
Files: [go-to-line.js](./go-to-line.js) / [go-to-line.css](./go-to-line.css)
4343

44-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/YzBMOXP)
44+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-go-to-line)
4545

4646
### Indent
4747
Add indentation using the `Tab` key, and auto-indents after a newline, as well as making it possible to indent/unindent multiple lines using Tab/Shift+Tab. **Supports tab characters and custom numbers of spaces as indentation, as well as (optionally) brackets typed affecting indentation.**
4848

4949
Files: [indent.js](./indent.js)
5050

51-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/WNgdzar)
51+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-indent)
5252

5353
### Prism Line Numbers
5454
Allow code-input elements to be used with the Prism.js line-numbers plugin, as long as the code-input element or a parent element of it has the CSS class `line-numbers`. [Prism.js Plugin Docs](https://prismjs.com/plugins/line-numbers/)
5555

5656
Files: [prism-line-numbers.css](./prism-line-numbers.css) (NO JS FILE)
5757

58-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/XWPVrWv)
58+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-prism-line-numbers)
5959

6060
### Special Chars
6161
Render special characters and control characters as a symbol
@@ -65,14 +65,14 @@ with their hex code.
6565

6666
Files: [special-chars.js](./special-chars.js) / [special-chars.css](./special-chars.css)
6767

68-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/jOeYJbm)
68+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-special-chars)
6969

7070
### Select Token Callbacks
7171
Make tokens in the `<pre><code>` element that are included within the selected text of the `<code-input>` gain a CSS class while selected, or trigger JavaScript callbacks.
7272

7373
Files: select-token-callbacks.js
7474

75-
[🚀 *CodePen Demo*](https://codepen.io/WebCoder49/pen/WNVZXxM)
75+
[🚀 *Demo*](https://v2.code-input-js.org/plugins/#playground-preset-select-token-callbacks)
7676

7777
## Using Plugins
7878
Plugins allow you to add extra features to a template, like [automatic indentation](./indent.js) or [support for highlight.js's language autodetection](./autodetect.js). To use them, just:

0 commit comments

Comments
 (0)