anamaydev977 downloadsShow absolute, relative, and hybrid line numbers in markdown files, with cursor position (line and column) in the status bar.
An Obsidian plugin that enhances the editor with customizable line numbers and active line highlighting.
Hybrid
Relative
Absolute


main.js, styles.css, and manifest.json from the latest releaseVaultFolder/.obsidian/plugins/advanced-line-numbers/| Setting | Description |
|---|---|
| Line Number Mode | Choose between Absolute, Relative, or Hybrid |
| Show cursor position in status bar | Toggle the Ln X, Col Y status bar item on and off |
| Highlight active line | Toggle the editor and gutter active line highlight on and off |
All settings can also be toggled via the command palette:
| Command | Description |
|---|---|
| Set line numbering: absolute / relative / hybrid | Switch the line numbering mode |
| Enable / Disable cursor position | Show or hide the cursor position in the status bar |
| Enable / Disable active line highlight | Show or hide the editor and gutter active line highlight |
# Install dependencies
npm install
# Build for development (watch mode)
npm run dev
# Build for production
npm run build
# Lint code
npm run lint
MIT