Repository navigation
0.3.6
Cite as you write from your EndNote library, then export to Word or LaTeX.
What changed in 0.3.6
Both blocking findings from the directory review are fixed, plus the cheap warnings.
- No more direct style assignment. The group menu still positions itself from
measured geometry, but only the coordinates are set from code (setCssProps); its
position and look live instyles.css. - No API newer than
minAppVersion. The sidebar now opens with
rightSplit.expand()+setActiveLeaf()instead ofrevealLeaf(), and the UI
language follows the system locale instead of reading Obsidian's internal
localStoragekey. - Review hygiene:
document→activeDocument/activeWindow(pop-out windows),
createSpan()/createFragment()instead ofdocument.createElement(),
vault.configDirinstead of a hard-coded.obsidian, ES imports instead of
require(),@codemirror/*declared as dependencies, nobuiltin-modules,
no!importantin the CSS, unused imports and pointless escapes removed. npm run lintruns the sameeslint-plugin-obsidianmdrules the scanner uses —
it currently reports 0 errors.- Releases now carry GitHub artifact attestations, so the build provenance of
main.jsandstyles.csscan be verified.
SHA256SUMS.txt covers every asset in this release.
中文说明
审核报的两个阻断项都修了,顺带清掉了一批警告:
- 不再直接写样式:分组菜单仍按实测位置弹出,但代码只传坐标(
setCssProps),
位置和外观都回到styles.css里。 - 不再用到高于最低版本的 API:侧边栏改用
rightSplit.expand()+setActiveLeaf()
代替revealLeaf();界面语言跟随系统语言,不再读 Obsidian 内部的localStorage。 - 其它清理:
document换activeDocument/activeWindow(支持弹出窗口)、
createSpan()/createFragment()取代document.createElement()、
用vault.configDir取代硬编码.obsidian、ES import 取代require()、
@codemirror/*声明为依赖、去掉builtin-modules、去掉 CSS 里的!important、
清理未使用的导入和无意义转义。 - 新增
npm run lint,跑的就是审核用的同一套eslint-plugin-obsidianmd规则,
现在是 0 error。 - 发布产物现在带 GitHub 构建证明(artifact attestation),可以验证
main.js确实由这个仓库构建。
