Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Literate CommentsNew to Visual Studio Code? Get it now.
Literate Comments

Literate Comments

Jack Lippold

|
17 installs
| (0) | Free
View source files 'Medium style' by treating multiline comments as Markdown
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Literate Comments

This is a fork of the now unmaintained Comments as Markdown extension by Anton Uramer.

Implements literate programming for any language, by treating any document as Markdown.

Features

Run one of the "Literate Comments" commands. Any comments will be rendered as Markdown.
The remaining code will be wrapped in code blocks.

This extension utilizes the standard VS Code Markdown preview, which means any additional Markdown extensions will function as well. For example, Mermaid support.

Extension Settings

"literate-comments.codeLens.enabled": Enables CodeLens to preview a single comment as Markdown

Release Notes

0.5

Only renders multiline comments as Markdown leaving single line comments as code.

0.4

Detect comments instead of relying on custom syntax

0.3

Support running in Web VSCode

0.2

CodeLens support

0.1

Initial release

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