Файли
openidea/docs/en/plugins
LU XIANGRUIтаwildcatDownstairs 10242d2e58 feat(plugins): support Markdown and UI-locale localization for Overview and What's New (#6776)
Plugin Overview and What's New rendered as plain text and ignored the UI language. plugin.toml gains optional description-file and change-notes-file (API 1.18, Markdown inside the package, UTF-8, at most 256 KiB); a shared loader validates them and localized siblings (description.zh-CN.md) in check, pack, install and index. Descriptions and change notes resolve per locale from locales/<tag>.json and those siblings, with English fallback, for installed, local catalog and marketplace plugins.

Markdown is rendered with lazily loaded marked and an isolated DOMPurify that strips scripts, event handlers, javascript:/file: links, styles and external resources, keeping marked out of the Settings window's boot graph.

Closes #6773


Merged with main: the pending-uninstall placeholder plugin now gets docs from its manifest.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 13:31:13 +08:00
..