linkPlugin API Reference Documentation: Note interface
The note interface provides a more convenient way to interact with the app interface functions that operate on a specific noteHandle. Note that - like a noteHandle - the note described by the note interface may or may not exist. Calling functions that modify the note content will create the note if it doesn't already exist.
linknote.addTag
Add a tag to the note. See app.addNoteTag for details.
linknote.attachMedia
Attach a media file (image or video) to the note. See app.attachNoteMedia for more details.
linknote.attachments
Gets a list of attachments in the note. See app.getNoteAttachments for details.
linknote.backlinkContents
Get the content of backlinks from a specific source note to the note. See app.getNoteBacklinkContents for details.
linknote.backlinks
Gets the list of notes that link to the note. See app.getNoteBacklinks for details.
linknote.content
Get the content of the note, as markdown. See app.getNoteContent for more details.
linknote.delete
Delete the note. See app.deleteNote for more details.
linknote.images
Get all inline images in the note. See app.getNoteImages for more details..
linknote.insertContent
Inserts content at the beginning of a note. See app.insertNoteContent for more details.
linknote.insertTask
Inserts a new task at the beginning of a note. See app.insertTask for more details.
linknote.name (title)
Get the title of the note.
linknote.publicURL
Get a link to the published version of a note, if the note is published. See app.getNotePublicURL for details.
linknote.publish
Publish the note, see app.publishNote for details.
linknote.removeTag
Remove a tag from the note. See app.removeNoteTag for details.
linknote.replaceContent
Replaces the content of the entire note, or a section of the note, with new content. See app.replaceNoteContent for more details.
linknote.sections
Gets the sections in the note. See app.getNoteSections for more details.
linknote.setName
Sets a new name for the note. See app.setNoteName for more details.
linknote.tags
Returns an Array of tags that are applied to the note.
linknote.tasks
Gets the tasks in the note. See app.getNoteTasks for more details.
linknote.updateImage
Update a specific image in the note. See app.updateNoteImage for more details.
linknote.url
Returns the String URL of the note. See app.getNoteURL for more details.