2ch code preview

Add code preview to 2ch.hk

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Автор
7sIV799F
Щоденних встановлень
0
Всього встановлень
71
Рейтинги
0 0 0
Версія
0.4.0
Створено
11.04.2015
Оновлено
11.04.2015
Size
2,6 кБ
Ліцензія
Н/Д
Відноситься до

Добавляет для 2ch.hk тэг [code], а также предпросмотр кода из онлайн сервисов прямо в посте. Поддерживаются: pastebin, ideone, jsfiddle, codepen.

Использование

Выделите код в форме ответа и нажмите кнопку code. Если обернуть вручную тэгом [code] то звёздочки и лишние пробелы потеряются.

Минусы

Для нормального отображения кода даже для тех, у кого скрипт не установлен, символ * заменяется на внешне похожий символ ٭, так что если вы не установили скрипт и пытаетесь скопировать и выполнить код, у вас ничего не получится.