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或关注我们的公众号极客氢云获取最新地址