2ch code preview

Add code preview to 2ch.hk

Tính đến 11-04-2015. Xem phiên bản mới nhất.

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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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!)

Tác giả
7sIV799F
Đánh giá
0 0 0
Phiên bản
0.4.0
Đã tạo
11-04-2015
Đã cập nhật
11-04-2015
Kích thước
3 KB
Giấy phép
N/A
Áp dụng cho

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

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

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

Минусы

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