Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Markdown Inline EditorNew to Visual Studio Code? Get it now.
Markdown Inline Editor

Markdown Inline Editor

CodeSmith

|
173 installs
| (1) | Free
WYSIWYG inline markdown editor - hide syntax, focus on content
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Inline Editor CI/CD Status License: MIT

Extension Icon

Write Markdown like a rich text editor – see bold, italic, and code styled inline while syntax markers stay hidden. Click to edit raw Markdown. Your files remain 100% standard .md.

Why? Less clutter, more focus. Git-friendly. Works everywhere.

✨ Key Features

  • Hide syntax – No more **, ~~, backticks cluttering your view
  • Smart reveal – Click any text to instantly see/edit raw Markdown
  • Fast – Intelligent caching, no lag on selection changes
  • Compatible – Standard .md files, works with any tool
  • Theme-aware – Automatically adapts to your VS Code theme
  • Zero configuration – Works out of the box

Demo

Markdown Inline Editor Demo
Figure: Interactive demo—see formatting applied inline, reveal raw Markdown with a click, and watch the extension adapt instantly to color theme changes.

Markdown Inline Editor - formatted view Raw Markdown revealed on selection

Left: Markdown as rendered—formatting is shown inline, raw syntax markers are hidden for clarity.
Right: Selecting a line reveals the original Markdown syntax for direct editing.

What You Get

  • Hidden syntax – **bold**, *italic*, ~~strike~~ → see the formatting, not the markers
  • Styled headings – # H1 through ###### H6 sized appropriately (200% to 80% font size)
  • Clean links – [text](https://github.com/SeardnaSchmid/markdown-inline-editor-vscode/blob/HEAD/url) → clickable text, URL hidden
  • Visual lists – - item → • item (unordered lists)
  • Code blocks – Fences hidden, background styled with theme colors
  • Blockquotes – > quote → │ quote (visual bar indicator)
  • Horizontal rules – --- → ─────── (visual separator)
  • Instant reveal – Select text to see/edit raw Markdown
  • Fast – Intelligent caching + incremental updates
  • Toggle anytime – Toolbar button to enable/disable

Recommended additional Extensions

Enhance your Markdown workflow with these complementary extensions:

  • Markdown All in One

    • Keyboard shortcuts (e.g., Alt+C to toggle checkboxes)
    • Auto-formatting
    • Table of contents generator
    • Markdown preview
    • Many more productivity features
  • Mermaid Chart

    • Create and edit diagrams directly within Markdown
    • Preview and quickly iterate on charts
    • Great for including diagram context for AI/colleagues

Install

VS Code Marketplace:

  • Install from VS Code Marketplace
  • Or: Extensions → Search "Markdown Inline Editor" → Install

Quick Open:
Press Ctrl+P / Cmd+P, type ext install CodeSmith.markdown-inline-editor-vscode

Usage

  1. Open any .md file
  2. Start typing—formatting is automatic
  3. Click/select text to reveal raw Markdown
  4. Use the toolbar button to toggle decorations on/off

Supported Markdown Features

Syntax Example Result
Bold **text** text (markers hidden)
Italic *text* text (markers hidden)
Bold + Italic ***text*** text (markers hidden)
Strikethrough ~~text~~ ~~text~~ (markers hidden)
Inline Code `code` code (monospace)
Headings # H1 ... ###### H6 Sized text (200% to 80%)
Links [text](https://github.com/SeardnaSchmid/markdown-inline-editor-vscode/blob/HEAD/url) Clickable, URL hidden
Images ![alt](https://github.com/SeardnaSchmid/markdown-inline-editor-vscode/raw/HEAD/img.png) Alt text styled
Unordered Lists - item or * item or + item • item
Task Lists - [ ] / - [x] ☐ / ☑
Blockquotes > quote │ quote (visual bar)
Nested Blockquotes > > nested │ │ nested
Horizontal Rules --- or *** or ___ ─────── (visual separator)
Code Blocks ```lang Background styled, fences hidden

Nested formatting fully supported (e.g., bold italic, **bold code**).

Note: Ordered lists (1., 2., etc.) are currently displayed as-is. Auto-numbering is planned for a future release.

Configuration

No setup needed – works out of the box! The extension automatically adapts to your VS Code theme.

Toggle Decorations

  • Click the toolbar button in the editor to toggle decorations on/off
  • Or use the command palette: Ctrl+Shift+P / Cmd+Shift+P → "Toggle Markdown Decorations"

The toggle state is global (applies to all markdown files). Per-file toggle state is planned for a future release.

Development

Prerequisites

  • Node.js 20 or higher
  • VS Code 1.88.0+ (or Cursor IDE)
  • Git for version control

Setup

git clone https://github.com/SeardnaSchmid/markdown-inline-editor-vscode.git
cd markdown-inline-editor-vscode
npm install
npm run compile
npm test

Key Commands

Command Description
npm run compile TypeScript compilation
npm run bundle Bundle with esbuild
npm test Run all tests
npm run test:watch Run tests in watch mode
npm run test:coverage Generate coverage report
npm run lint Run ESLint
npm run package Create .vsix package
npm run clean Clean build artifacts

Architecture

src/
├── extension.ts          # Extension entry point and activation
├── parser.ts             # Markdown AST parsing (remark-based)
├── parser-remark.ts      # Remark dependency helper
├── decorator.ts          # Decoration management and caching
├── decorations.ts        # VS Code decoration type definitions
├── link-provider.ts      # Clickable link provider
└── parser/__tests__/     # Comprehensive test suite (123+ tests)

Key Technologies:

  • remark – Markdown parser
  • unified – AST processing
  • VS Code Extension API – Editor integration

Debugging

  1. Press F5 to launch Extension Development Host
  2. Open a markdown file in the new window
  3. Test your changes

See AGENTS.md for contribution guidelines and agent roles, and CONTRIBUTING.md for detailed development workflow.

Troubleshooting

Decorations Not Showing?

  1. Check file extension – Ensure file is .md, .markdown, or .mdx
  2. Toggle decorations – Click the toolbar button to enable/disable
  3. Reload window – Ctrl/Cmd+Shift+P → "Developer: Reload Window"
  4. Check extension status – Verify extension is activated in the Extensions view

Performance Issues?

  • Large files – Files over 1MB may experience slower parsing
  • Temporarily disable – Use the toolbar button to toggle decorations off
  • Check performance – Help → Startup Performance to diagnose issues
  • Report issues – If performance is consistently poor, please open an issue

Known Limitations

  • Ordered lists – Currently displayed as-is (auto-numbering planned)
  • Tables – Table syntax hiding is in progress
  • Mermaid diagrams – Diagram rendering is in progress
  • Math formulas – KaTeX/MathJax support is planned

Found a Bug?

Please open an issue with:

  • VS Code version
  • Extension version
  • Steps to reproduce
  • Expected vs. actual behavior
  • Screenshots if applicable

Contributing

Contributions are welcome! This project follows Conventional Commits and maintains high code quality standards.

Quick Start

git checkout -b feat/my-feature
# Make changes, write tests
npm test && npm run lint
git commit -m "feat(parser): add definition list support"

Contribution Guidelines

  • Read first: CONTRIBUTING.md for detailed workflow
  • Code style: TypeScript strict mode, JSDoc comments, comprehensive tests
  • Commit format: <type>(<scope>): <description>
    • Types: feat, fix, docs, style, refactor, perf, test, chore
  • Testing: All changes must include tests (123+ existing tests)
  • Performance: No regressions – see docs/PERFORMANCE_IMPROVEMENTS.md

Feature Requests

Check TODO.md and docs/FEATURE_IDEAS.md for planned features and priorities.

See CONTRIBUTING.md for full contribution guidelines and AGENTS.md for agent roles and architecture details.

License

MIT License – See LICENSE.txt

Acknowledgments

Built with:

  • remark – Markdown parser
  • unified – AST processing framework
  • remark-gfm – GitHub Flavored Markdown support
  • VS Code Extension API – Editor integration

Important: Your files remain standard .md – this extension only affects the editor view. All markdown syntax is preserved in the file.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft