首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > 基于纯JavaScript维基渲染系统

基于纯JavaScript维基渲染系统

  • 资源大小:14.35 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: javascript Wiki

资 源 简 介

INTRODUCTION Many people implement their wiki rendering system based on server side script or even complex cgi-bin modules, as experienced web developer we all know that using the server side resource for rendering the texts is a hard job, especially for those websites that has more than 10000 of visitors per day. For solving the server pressure problem, we researched into a way to implement the wiki rendering system that is compatiable with Google Code Wiki in pure Javascript language, we have ended in this project. USAGE Using JSWiki module on your site is very easy, just using the wiki2html() function to translate pure Google Code Wiki syntax string into html rendered format, then the output could be displayed by using simple js techniques. For example: ``` // Sample wiki text var wiki_text = " = Title 1 = ==Title 2== Hello, this is a sample test. "; // Translate the wiki syntax into html t

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP