actualNoteContentPart: ## app.getNoteAttachments
  Returns a list of attachments in the given note. Only attachments that are currently referenced in the note will be returned - if an attachment is uploaded to a note then deleted from the note or moved to a different note, it will not be included in the resulting list.
  Arguments
  	[noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)  identifying the note to list attachments for
  Returns
  	Array of [attachment](/help/developing_amplenote_plugins/appendix_i#attachment)  objects, or null if the note handle did not identify an existing note
  ```
   {   async noteOption(app, noteUUID) {     const attachments = await app.getNoteAttachments({ uuid: noteUUID });     await app.alert(`${ attachments.length } attachments`);   } }
  ```
  
  ## app.getNoteBacklinkContents
  Get the content of backlinks - including surrounding context, as would be shown in the backlinks section of a note - from a specific source note to a specific target note.
  Arguments
  	target [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)  identifying the note being linked to
  	source [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)  identifying the note that contains the link(s) to the target note
  Returns
  	Array of markdown strings, one for each link in the source note that references the target note, including relevant note content context
  ```
  {  async noteOption(app, noteUUID) {    const targetNoteHandle = { uuid: noteUUID };    const sourceNoteHandles = await app.getNoteBacklinks(targetNoteHandle);    if (sourceNoteHandles.length > 0) {      const sourceNoteHandle = sourceNoteHandles[0];      const backlinkContents = await app.getNoteBacklinkContents(targetNoteHandle, sourceNoteHandle);      await app.alert(backlinkContents.join("\n\n"));    } else {      await app.alert("Note has no backlinks");    }  }} 
  ```
  
  ## app.getNoteBacklinks
  Returns the list of notes that link to the specified note.
  Arguments
  	[noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)  identifying the note
  Returns
  	Array of [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle) s identifying the notes that have links to the specified note 
  ```
  {  async noteOption(app, noteUUID) {    let count = 0;    for await (const referencingNoteHandle of app.getNoteBacklinks({ uuid: noteUUID })) {      await app.alert("referencingNoteHandle: " + JSON.stringify(referencingNoteHandle));      count++;    }    await app.alert("count: " + count);  }}
  ```
  
  ## app.getNoteContent
  Get the content of a note, as markdown.
  Arguments
  	[noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)  identifying the note
  Returns
  	The content of the note, as markdown.
  ```
  {  async noteOption(app, noteUUID) {    const markdown = await app.getNoteContent({ uuid: noteUUID });    app.alert(markdown);  }} 
  ```
  
  ## app.getNoteImages
  Get all the inline images in a note (does not include images in Rich Footnotes). 
  Arguments
  	[noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)  identifying the note
  Returns
  	Array of [image](/help/developing_amplenote_plugins/appendix_i#image)  objects
  ```
  {  async noteOption(app, noteUUID) {    const images = await app.getNoteImages({ uuid: noteUUID });    await app.alert("image count: " + images.length);  }} 
  ```
  
  ## app.getNotePublicURL
  Get a public URL for the note, if it has been published. Note that this call requires internet connectivity.
  Arguments
  	[noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)  identifying the note
  Returns
  	String URL for the published note, or null if the note is not published
  Throws
  	If a request to the server fails, e.g. if the client is offline
  ```
  {  async noteOption(app, noteUUID) {    const publicURL = await app.getNotePublicURL({ uuid: noteUUID });    await app.alert("public URL: " + (publicURL || "none"));  }} 
  ```
processedNoteContent: ---
  title: App Interface: Plugin methods to interact with ...
  headers: ## app.getNoteAttachments
  ---
  app.getNoteAttachments
  Returns a list of attachments in the given note. Only attachments that are currently referenced in the note will be returned - if an attachment is uploaded to a note then deleted from the note or moved to a different note, it will not be included in the resulting list.
  Arguments
  [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
    identifying the note to list attachments for
  Returns
  Array of [attachment](/help/developing_amplenote_plugins/appendix_i#attachment)
    objects, or null if the note handle did not identify an existing note  {   async noteOption(app, noteUUID) {     const attachments = await app.getNoteAttachments({ uuid: noteUUID });     await app.alert(`${ attachments.length } attachments`);   } }
  
  app.getNoteBacklinkContents
  Get the content of backlinks - including surrounding context, as would be shown in the backlinks section of a note - from a specific source note to a specific target note.
  Arguments
  target [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
    identifying the note being linked to
  source [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
    identifying the note that contains the link(s) to the target note
  Returns
  Array of markdown strings, one for each link in the source note that references the target note, including relevant note content context {  async noteOption(app, noteUUID) {    const targetNoteHandle = { uuid: noteUUID };    const sourceNoteHandles = await app.getNoteBacklinks(targetNoteHandle);    if (sourceNoteHandles.length > 0) {      const sourceNoteHandle = sourceNoteHandles[0];      const backlinkContents = await app.getNoteBacklinkContents(targetNoteHandle, sourceNoteHandle);      await app.alert(backlinkContents.join("\n\n"));    } else {      await app.alert("Note has no backlinks");    }  }} 
  
  app.getNoteBacklinks
  Returns the list of notes that link to the specified note.
  Arguments
  [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
    identifying the note
  Returns
  Array of [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
   s identifying the notes that have links to the specified note {  async noteOption(app, noteUUID) {    let count = 0;    for await (const referencingNoteHandle of app.getNoteBacklinks({ uuid: noteUUID })) {      await app.alert("referencingNoteHandle: " + JSON.stringify(referencingNoteHandle));      count++;    }    await app.alert("count: " + count);  }}
  
  app.getNoteContent
  Get the content of a note, as markdown.
  Arguments
  [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
    identifying the note
  Returns
  The content of the note, as markdown. {  async noteOption(app, noteUUID) {    const markdown = await app.getNoteContent({ uuid: noteUUID });    app.alert(markdown);  }} 
  
  app.getNoteImages
  Get all the inline images in a note (does not include images in Rich Footnotes).
  Arguments
  [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
    identifying the note
  Returns
  Array of [image](/help/developing_amplenote_plugins/appendix_i#image)
    objects {  async noteOption(app, noteUUID) {    const images = await app.getNoteImages({ uuid: noteUUID });    await app.alert("image count: " + images.length);  }} 
  
  app.getNotePublicURL
  Get a public URL for the note, if it has been published. Note that this call requires internet connectivity.
  Arguments
  [noteHandle](/help/developing_amplenote_plugins/appendix_i#noteHandle)
    identifying the note
  Returns
  String URL for the published note, or null if the note is not published
  Throws
  If a request to the server fails, e.g. if the client is offline {  async noteOption(app, noteUUID) {    const publicURL = await app.getNotePublicURL({ uuid: noteUUID });    await app.alert("public URL: " + (publicURL || "none"));  }}
noteTitle: App Interface: Plugin methods to interact with user notes