seqs's recent timeline updates
seqs

seqs

V2EX member #145091, joined on 2015-10-30 14:23:39 +08:00
seqs's recent replies
说下我的方案吧, mathjax 公式外层增加识别串,例如:

^^^mathjax

f(x) = \int_{-\infty}^\infty
\hat f(\xi)\,e^{2 \pi i \xi x}
\,d\xi

^^^

marked 处理前先匹配出该串,将该串哈希 ID 替换原字符串,并存放到变量中, marked 解析完毕,再将哈希 ID 替换回原内容并做解析。

可以参考这里: https://github.com/seqs/tractor/blob/master/app/helpers/markdown.js#L81
我这里用的 KaTeX
Nov 27, 2015
Replied to a topic by moxuanyuan 程序员 大家用什么系统来做团队的知识库?
自己写了个,后续会加上权限管理、 Tag 分类等功能: https://github.com/seqs/tractor
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3513 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 78ms · UTC 11:24 · PVG 19:24 · LAX 04:24 · JFK 07:24
♥ Do have faith in what you're doing.