Merge pull request #2 from xhwsd/master

补上副标题“MDtoHTML”
master
Mr.zou 6 years ago committed by GitHub
commit 730d60543b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,7 +35,7 @@
// 设置网页标题为第一个H标签的内容
var hText = $(":header:first").text(); // 取第一个标题Hx元素
if(hText.length > 0) {
$('title').text(hText); // 设置文档标题
$('title').text(hText + " - MDtoHTML"); // 设置文档标题
}
});
</script>

Loading…
Cancel
Save