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)

作者
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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址