Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Mantle Docs

Ryan BakkerRyan Bakker88 downloads

View code and data files (JSON, TypeScript, CSV, CSS, YAML, etc.) with syntax highlighting in an optimised, read-only viewer that eliminates editing lag.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Mantle Docs is a high-performance, read-only document viewer designed specifically for code and raw data files (JSON, TypeScript, CSS, CSV, HTML, YAML, etc.) within your Obsidian vault. It eliminates raw-text editing lag, applying syntax highlighting and syntax structures in a clean interface.


🎨 Cohesive Styling

Mantle Docs is engineered to inherit aesthetic tokens from the Project Mantle core layout. While compatible with any theme, it is optimized to merge with the Zenith theme, adopting its code blocks, dark IDE tones, parched light tones, and typography.


✨ Key Features

  • Instant Syntax Rendering: Renders complex code documents with custom themes for TypeScript, JSON, CSS, Markdown, YAML, and more.
  • Read-Only Mode Protection: Prevents accidental keystrokes from modifying code/data records.
  • Large File Optimization: Built-in virtualization engines allow you to view massive files without lag.
  • Interactive Code Blocks: Toggle line numbers, wrap lines, and copy snippets with a single click.

📥 Installation

Method A: Via Obsidian Community Directory (Recommended)

  1. Go to Settings > Community plugins > Browse.
  2. Search for Mantle Docs.
  3. Click Install, then click Enable.

Method B: Via BRAT (Beta Reviewer's Auto-update Tester)

  1. Install the BRAT plugin from Obsidian's community store.
  2. In BRAT settings, click Add Beta plugin and enter: https://github.com/carnalMATRIX/obsidian-mantle-docs
  3. Click Add Plugin to download and auto-update.

Method C: Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest GitHub Release.
  2. Inside your vault, navigate to .obsidian/plugins/.
  3. Create a folder named mantle-docs and paste the three downloaded files inside.
  4. Restart Obsidian, go to Settings > Community plugins, and enable Mantle Docs.

🔍 Troubleshooting

Code formatting does not apply

  • File Extensions: Verify that the file has a recognized code extension (e.g., .ts, .json, .css, .yaml). Files with .txt extensions will render as plain unhighlighted text.
  • Syntax Conflicts: Check that another syntax highlighting plugin is not conflicting or attempting to parse the same file types.

Code is editable instead of read-only

  • Viewer Toggle: Toggle the reading/preview view inside the tab (using Cmd+E or Ctrl+E) to ensure the document is set to preview mode.

🛠️ Development

If you wish to modify or add language highlights to this plugin locally:

  1. Clone this repository.
  2. Install dependencies:
    npm install
    
  3. Run the compiler in watch mode:
    npm run dev
    
  4. Build minified production code:
    npm run build
    

📄 License

Copyright (c) 2026 Ryan Bakker. Released under a Personal Use License. Non-commercial, personal use only. Redistribution or modification for distribution is strictly prohibited. See the LICENSE file for full terms.

HealthExcellent
ReviewSatisfactory
About
Mantle Docs is a high-performance, read-only document viewer tailored for code and raw data files inside your Obsidian vault. If you store JSON configs, script files, CSS, CSVs, or YAML records in your vault, this plugin lets you view them with full syntax highlighting without triggering editor-keystroke lag or accidental edits. Built with virtualisation, it handles large codebases and files smoothly. Code controls let you toggle line numbers, wrap text, and copy snippets with a single click. It adopts custom styling from the Zenith theme for unified code block formatting.
CodeReview
Details
Current version
1.0.0
Last updated
2 weeks ago
Created
2 weeks ago
Updates
1 release
Downloads
88
Compatible with
Obsidian 1.12.7+
Platforms
Desktop only
License
OTHER
Report bugRequest featureReport plugin
Author
Ryan BakkerRyan Bakkercarnalmatrix
GitHubcarnalmatrix
  1. Community
  2. Plugins
  3. Code
  4. Mantle Docs

Related plugins

Templater

Create and use dynamic templates.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

PlantUML

Generate PlantUML diagrams.

Kroki

Render Kroki diagrams.

LearnKit

A native study system for your Obsidian vault. LearnKit turns notes into durable knowledge with flashcards, spaced repetition, tests, and more.

Code Space

Professional code file management with visual dashboard, syntax highlighting editor, and Markdown embedding.

Simple Note Review

Simple, customizable plugin for easy note review, resurfacing and repetition.

VSCode Editor

Edit Code Files like VSCode.

JS Engine

Run JavaScript from within your notes.

CustomJS

Reuse custom JavaScript across desktop and mobile.