|
|
@ -109,6 +109,23 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* -------------- 简介Md -------------------- */
|
|
|
|
|
|
|
|
var shixunPro = editormd.markdownToHTML("shixuns_propaedeutics", {
|
|
|
|
|
|
|
|
htmlDecode: "style,script,iframe", // you can filter tags decode
|
|
|
|
|
|
|
|
taskList: true,
|
|
|
|
|
|
|
|
tex: true, // 默认不解析
|
|
|
|
|
|
|
|
flowChart: true, // 默认不解析
|
|
|
|
|
|
|
|
sequenceDiagram: true // 默认不解析
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
/* -------------- 课程须知MD -------------------- */
|
|
|
|
|
|
|
|
var shixunPro = editormd.markdownToHTML("subject_learning_notes", {
|
|
|
|
|
|
|
|
htmlDecode: "style,script,iframe", // you can filter tags decode
|
|
|
|
|
|
|
|
taskList: true,
|
|
|
|
|
|
|
|
tex: true, // 默认不解析
|
|
|
|
|
|
|
|
flowChart: true, // 默认不解析
|
|
|
|
|
|
|
|
sequenceDiagram: true // 默认不解析
|
|
|
|
|
|
|
|
});
|
|
|
|
//点击新建阶段
|
|
|
|
//点击新建阶段
|
|
|
|
$(".click_add").click(function(){
|
|
|
|
$(".click_add").click(function(){
|
|
|
|
if($("#new_stage_form").length == 1){
|
|
|
|
if($("#new_stage_form").length == 1){
|
|
|
|