Commit 456595b5 authored by dmscode's avatar dmscode
Browse files

初步完结

parent fd59730f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ Mac 系统我不了解,求赞助一个供我研究……
* 命名空间 ………… OK
* 样式定义 ………… OK
* 代码复制
* 首页文档
* 首页文档 ………… OK
* 页内索引

## 使用说明: ##
+3 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@
						$("#content").html(function(){
							return marked(markdownString);
						});
						// 代码高亮加行号
						$('pre code').each(function(){
							var thecode = $(this).html().split('\n');
							var code = "";
@@ -76,9 +77,11 @@
							}
							$(this).html(code);
						});
						// 图片设置外部元素
						$('#content img').each(function(){
							$(this).wrap('<div class="img-box"></div>');
						});
						// 设置页面标题
						pagetitle=$("#content").find(":header:first").text();
						if(pagetitle != ""){
							$("title").text(pagetitle + " - Wiki in box");