Skip to content

Build your personal knowledge base with Trilium Notes

fixed .createNoteLink API documentation

zadama108ef91a019
diff --git a/src/public/app/services/frontend_script_api.js b/src/public/app/services/frontend_script_api.js
index 3aa28b7e11..f589bef1aa 100644
--- a/src/public/app/services/frontend_script_api.js
+++ b/src/public/app/services/frontend_script_api.js
@@ -274,7 +274,10 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
*
* @method
* @param {string} notePath (or noteId)
- * @param {string} [noteTitle] - if not present we'll use note title
+ * @param {object} [params]
+ * @param {boolean} [params.showTooltip=true] - enable/disable tooltip on the link
+ * @param {boolean} [params.showNotePath=false] - show also whole note's path as part of the link
+ * @param {string} [title=] - custom link tile with note's title as default
*/
this.createNoteLink = linkService.createNoteLink;