How deathau/cm-typewriter-scroll-obsidian works
This Obsidian plugin provides centered typewriter scrolling, adjustable vertical offset, and an optional Zen mode that dims inactive editor lines. The user enables or configures it through Obsidian; the plugin applies settings to the editor and updates its styling. The main implementation has a CodeMirror 6 extension and a legacy CodeMirror add-on. The README documents the user-facing capabilities; the edges between implementation files are based on the shown imports and calls.
Main entry points: main.ts Plugin settings and commands · extension.ts CodeMirror 6 scrolling · typewriter-scrolling.js Legacy CodeMirror scrolling · styles.scss Zen and scroll styles
Components 5
Plugin control
- Plugin settings and commands
main.ts
Editor scrolling
- CodeMirror 6 scrolling
extension.ts - Legacy CodeMirror scrolling
typewriter-scrolling.js
Editor presentation
- Zen and scroll styles
styles.scss
Other components
- Obsidian
Connections 4
- Obsidian → Plugin settings and commands: loads plugin
README.md - Plugin settings and commands → CodeMirror 6 scrolling: registers extension
main.ts - Plugin settings and commands → Legacy CodeMirror scrolling: sets option
main.ts - Plugin settings and commands → Zen and scroll styles: imports styles
main.ts