Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.supernote.com/llms.txt

Use this file to discover all available pages before exploring further.

This API shows the current plugin UI.
showPluginView(): Promise<boolean>;
Returns
  • Promise<boolean>: whether the UI was shown successfully

Example

import { PluginManager } from 'sn-plugin-lib';

/**
 * Example: show the plugin UI.
 */
export async function exampleShowPluginView() {
  const ok = await PluginManager.showPluginView();
  return ok;
}