markdown
This commit is contained in:
File diff suppressed because one or more lines are too long
2
public/js/app/note-min.js
vendored
2
public/js/app/note-min.js
vendored
File diff suppressed because one or more lines are too long
@ -948,8 +948,12 @@ Note.renderNoteReadOnly = function(note) {
|
|||||||
$("#noteReadUpdatedTime").html(goNowToDatetime(note.UpdatedTime));
|
$("#noteReadUpdatedTime").html(goNowToDatetime(note.UpdatedTime));
|
||||||
}
|
}
|
||||||
Note.renderNoteContentReadOnly = function(note) {
|
Note.renderNoteContentReadOnly = function(note) {
|
||||||
|
if(note.IsMarkdown) {
|
||||||
|
$("#noteReadContent").html('<pre id="readOnlyMarkdown">' + note.Content + "</pre>");
|
||||||
|
} else {
|
||||||
$("#noteReadContent").html(note.Content);
|
$("#noteReadContent").html(note.Content);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//---------------------------
|
//---------------------------
|
||||||
// 搜索
|
// 搜索
|
||||||
|
Reference in New Issue
Block a user