Skip to content

Build your personal knowledge base with Trilium Notes

[DOC] createNewNote(): Add missing `render` type (#740)

nil0x424688cda4933f
diff --git a/src/services/notes.js b/src/services/notes.js
index 6eb3540852..26a743b3f3 100644
--- a/src/services/notes.js
+++ b/src/services/notes.js
@@ -78,7 +78,7 @@ async function copyChildAttributes(parentNote, childNote) {
* - {string} parentNoteId
* - {string} title
* - {*} content
- * - {string} type - text, code, file, image, search, book, relation-map
+ * - {string} type - text, code, file, image, search, book, relation-map, render
*
* Following are optional (have defaults)
* - {string} mime - value is derived from default mimes for type
@@ -543,4 +543,4 @@ module.exports = {
protectNoteRecursively,
scanForLinks,
duplicateNote
-};
\ No newline at end of file
+};