Official Plugins

2026-11-15

The official plugins are maintained alongside the desktop app; their sources and installable packages are public on GitHub, and they double as reference implementations of the plugin system. Install from the desktop "Plugin center", or download the .tgz package from a repo's GitHub Releases and import it via "Plugin center → Install plugin" (sources are listed under "Install and enable" in Plugin Development Process).

Typeset export (blc-export-book)

Typesets articles and folders into print- and distribution-ready deliverables; Typst, fonts and other typesetting resources ship offline with the plugin — nothing is downloaded at runtime.

  • Export a single article as PDF, Word (.docx), HTML, PNG or EPUB; make a book from a folder as EPUB, PDF, Word or HTML, with chapter selection and ordering in the typesetting workbench;
  • Typesetting settings cover paper, font size, line spacing, margins, headers and footers, page numbers, cover and table of contents; settings and covers persist in the plugin's workspace storage;
  • The image designer offers long images, poster ratios, four layouts and LXGW WenKai color themes;
  • Embedded canvases and mind maps render from their original files, keeping layout, connectors, icons and formulas.

Entry: "排版导出" in the article editor's plugin menu and the workspace context menu. Usage: see Article Typesetting Workbench and Book Making & Export. Repo: https://github.com/biglazycat-writer/blc-export-book

WeChat publishing (blc-plugin-publish)

Typesets Markdown into WeChat-compatible rich articles and delivers them straight to the Official Account draft box.

  • 10 typesetting themes with code highlighting, KaTeX formulas, Mermaid diagrams, image captions and a table of contents, exported as WeChat-compliant body HTML;
  • Image handling: compressed inline image upload, permanent cover asset upload with crop parameters, and a library picker;
  • Creates drafts through the official WeChat API: large articles are transferred in segments with SHA-256 integrity checks; the AppSecret lives in the system credential store, never in plain text;
  • Pages follow the host's light/dark mode, with Chinese and English UI.

Entry: "发布当前文章" in the article plugin menu and toolbar; account setup lives in the plugin's settings page. Usage: see WeChat Setup & Publishing. Repo: https://github.com/biglazycat-writer/blc-plugin-publish

Source as documentation

Both plugins and the plugin template build on the same SDK. To see how a host capability is used in a real plugin — chunked document reads, large file saves, page state restore, document navigation — search for the command id in their sources.