mirror of https://github.com/logseq/logseq
d53ac94bfc
Full-text search, highlights and assets alias support It also exposes a plugin API for highlight context menu ```ts /** * Current it's only available for pdf viewer * @param label - displayed name of command * @param action - callback for the clickable item * @param opts - clearSelection: clear highlight selection when callback invoked */ registerHighlightContextMenuItem: ( label: string, action: SimpleCommandCallback, opts?: { clearSelection: boolean } ) => unknown ``` |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
.npmignore | ||
.prettierrc.js | ||
README.md | ||
index.d.ts | ||
package.json | ||
tsconfig.json | ||
webpack.config.core.js | ||
webpack.config.js | ||
yarn.lock |
README.md
@logseq/libs
🚀 Logseq SDK libraries.
Installation
yarn add @logseq/libs
Usage
Load logseq
plugin sdk as global namespace
import "@logseq/libs"
APIs & Samples
Community templates
- https://github.com/pengx17/logseq-plugin-template-react
- https://github.com/pengx17/logseq-plugin-template-svelte
- https://github.com/tiensonqin/logseq-cljs-playground
Feedback
If you have any feedback or encounter any issues, feel free to join Logseq's discord group. https://discord.gg/KpN4eHY