keigookubo7 downloadsAlign headings to the top of the editor when you jump to them from the outline in Live Preview or Source mode.
English
In Live Preview and Source mode, clicking a heading in the Outline sometimes moves the cursor without bringing the heading to the top of the editor. Swak Heading Jump aligns the heading to the top every time.
日本語
ライブプレビュー・ソースモードで目次の見出しをクリックしても、カーソルだけが移動して見出しが画面の上に来ないことがあります。Swak Heading Jumpは、見出しを毎回画面の一番上にそろえます。
English
日本語
English
日本語
English
Install from Community plugins in Obsidian, or place main.js and manifest.json in .obsidian/plugins/swak-heading-jump/ in your vault and enable the plugin.
日本語
Obsidianのコミュニティプラグインからインストールするか、main.js と manifest.json をVaultの .obsidian/plugins/swak-heading-jump/ に置いて有効にしてください。
npm install
npm test
The test uses CodeMirror 6 with blocks that grow after rendering. It checks that headings align to the top, that user input stops the correction, and that outline text matches heading text.
テストは、描画後に高さが伸びる部品を含むCodeMirror 6で、見出しが上端にそろうこと、利用者の操作で補正が止まること、目次の表示文字と見出しの照合を確認します。
MIT © Swak Inc.