mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-17 18:31:21 +08:00
开启Markdown编辑器的数学公式功能
This commit is contained in:
@@ -76,6 +76,7 @@ function initHighlighting() {
|
||||
hljs.initLineNumbersOnLoad();
|
||||
}
|
||||
|
||||
|
||||
var events = $("body");
|
||||
|
||||
$(function () {
|
||||
@@ -93,7 +94,6 @@ $(function () {
|
||||
window.isFullScreen = false;
|
||||
|
||||
initHighlighting();
|
||||
|
||||
window.jsTree = $("#sidebar").jstree({
|
||||
'plugins' : ["wholerow", "types"],
|
||||
"types": {
|
||||
@@ -158,6 +158,7 @@ $(function () {
|
||||
}
|
||||
|
||||
initHighlighting();
|
||||
|
||||
$(".manual-right").scrollTop(0);
|
||||
//使用layer相册功能查看图片
|
||||
layer.photos({photos: "#page-content"});
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
$(function () {
|
||||
editormd.katexURL = {
|
||||
js : "/static/katex/katex",
|
||||
css : "/static/katex/katex"
|
||||
};
|
||||
window.addDocumentModalFormHtml = $(this).find("form").html();
|
||||
window.editor = editormd("docEditor", {
|
||||
width: "100%",
|
||||
@@ -19,6 +23,7 @@ $(function () {
|
||||
sequenceDiagram: true,
|
||||
tocStartLevel: 1,
|
||||
tocm: true,
|
||||
tex:true,
|
||||
saveHTMLToTextarea: true,
|
||||
|
||||
onload: function() {
|
||||
|
||||
Reference in New Issue
Block a user