Greasy Fork 还支持 简体中文。

Markdown Preview in txti

When EDITING a txti (txti.es/*/edit) in txti.es you should be able to preview your changes (a toggle preview button appears)

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
aeonfr
今日安裝
0
安裝總數
14
評價
0 0 0
版本
0.1
建立日期
2016-09-13
更新日期
2016-09-13
尺寸
2.2 KB
授權條款
未知
腳本執行於

After installing, whenever you're editing a txti you will be able to see a "Toggle Preview" button. It will toggle between a preview of what your txti would look like if you hit "SAVE".

I made this after being very confused with all the different Markdown "variants", like github flavoured markdown.

It fetches an external library for parsing markdown that it's called "showdown". In tampermonkey, the code is: @require https://cdnjs.cloudflare.com/ajax/libs/showdown/1.3.0/showdown.min.js

The script is pretty straight-foward. No malicius code or extra bloatware was included.