Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get the template information of a note page.
static getNotePageTemplate(notePath: string, page: number): Promise<APIResponse<NoteTemplateInfo>>;
notePath
string
page
number
0
APIResponse<NoteTemplateInfo>
result
name
md5
import { PluginFileAPI } from 'sn-plugin-lib'; /** * Example: get page template information. */ export async function exampleGetNotePageTemplate() { const notePath = '/storage/emulated/0/Note/demo.note'; const page = 1; const res = await PluginFileAPI.getNotePageTemplate(notePath, page); if (!res.success) { throw new Error(res.error?.message ?? 'getNotePageTemplate call failed'); } return res.result; }