javascript - wiki的链接方式是怎么实现的?

WBOY
Release: 2016-06-06 20:42:18
Original
1114 people have browsed it

那个wikipedia的

[[条目]]

链接是怎么实现的?

一直不明白这个是怎么实现的?用PHP、JS是肿么作到的呢?

看了老半天的tiddlywiki源码,实现是小白菜看不明白啊,求路过的大仙们给给讲讲。

回复内容:

那个wikipedia的

[[条目]]

链接是怎么实现的?

一直不明白这个是怎么实现的?用PHP、JS是肿么作到的呢?

看了老半天的tiddlywiki源码,实现是小白菜看不明白啊,求路过的大仙们给给讲讲。

正则替换然后按照特定的规则生成目录和文件

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!