Markdown Viewer Lite

view Markdown in Chrome,23 common language surportted

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 or Violentmonkey 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.

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

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

ئاپتورى
黄盐
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
436
باھا نومۇرى
3 0 0
نەشرى
0.5.2
قۇرۇلغان ۋاقتى
2017-10-16
يېڭىلانغان ۋاقتى
2017-10-29
Size
25.9 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

Markdown Viewer Lite

Markdown Viewer, 见名知义,就是Markdown阅读器. 这里和其他人众多版本不同的就是,这是一个脚本,适用于Tampermonkey.

起源

写这个脚本源于安装过的扩展: Markdown Viewer

但是浏览器插件多了的时候,就不怎么爽了,于是萌生了把扩展转化为脚本的念头.

现状

这个脚本里集成了上面提到的插件的大部分功能.但是也有差异,目前表现为:

  • marked.js 脚本的各种选项
  • Remark 的各种选项,这里不提供
  • emoji 有,引用EmojiOne的
  • scroll 记录滚动条位置,无,因为目前觉得没有太大用处
  • TOC 有,采用jQuery.zTree_Toc.js方案,做相应的调整,适应zepto.js
  • MathJax 数学公式转化,有,而且比插件的更加猛,因为这里自豪地采用了KaTex

使用

右上角有个半透明的图标,点击就可以看到各种选项了.

What's New?

what's new,就不知道,what's more就有. 插件中没有的图像转化插件,这里加了4个,后续可能还有更多,

关于

因为本人极度不专业代码,这小小的脚本前后花了不少时间,当然,Bug肯定少不了.但是现在应该说是能够用了.而且,如果不是非常专业的用户的话,也应该够用了.使用后欢迎提意见,如果觉得合适,后续版本加入

功能添加打算

  1. 折线图,饼状图,柱状图等的解析功能
  2. 高级用户配置界面

版本更新

V 0.5.2
2017-10-29
增加 自动目录(Table Of Content)功能.
感谢项目 jQuery.zTree_Toc.js