syntaxhl代码高亮测试
作者:自在轮回 发布时间:September 14, 2009 分类:技术杂记
import sys, os
python = sys.executable
# the syntax start "" "filepath" is necessary for file paths with spaces
pythonw = 'start "" "' + os.path.join(os.path.split(python)[0], 'pythonw.exe"')
python = '"%s"' % python
scriptdir = os.getcwd()
scripts = [ ("img2png", 0),
("img2py", 0),
("img2xpm", 0),
("genaxmodule",0),
("xrced", 1),
("pyshell", 1),
("pycrust", 1),
("pywrap", 1),
("pyalamode", 1),
("pyalacarte", 1),
("helpviewer", 1),
("pywxrc", 0),
("editra", 1),
]





已有 4 条评论 »
把这个插件提供一下嘛
我这个不是插件,我把这个集成到TinyMCE上了,做成了编辑器插件。不过官方论坛上有插件形式的。
http://forum.typecho.org/viewtopic.php?f=6&t=413
核心文件和我这个是一样的,用的都是 SyntaxHighlighter 核心代码。
那个我用了,不方便,我是启用了TinyMCE的,要不把你的TinyMCE打个包给我
好吧,你不怕我这个麻烦的话,我整理下配置文档,之后打包放上来。