Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>python-string-markdownNew to Visual Studio Code? Get it now.
python-string-markdown

python-string-markdown

nukopy

|
2,980 installs
| (2) | Free
highlight python strings as Markdown
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown highlighting in Python multiline strings for VS Code

Adds syntax highlight support for python multiline Markdown strings in VS Code. This should be helpful when using streamlit, "the fastest way to build costom ML tools".

Installation

Install python-string-markdown from extensions (ctrl + shift + x or cmd + shift + x on mac).

Also available on marketplace.visualstudio.com

Requirements

  • Visual Studio Code v1.45.1 recommended
  • Comments at beginning and end of highlighted section in the string (see Usage section).

Usage

Basic

Insert <!-- md --> at the beginning of the part of the string you would like highlighted and insert <!-- end-md --> at the end of the highlighted section.

  • demo/demo.py

Example

Use with streamlit

This extension should be helpful when using streamlit, "the fastest way to build costom ML tools". If you use streamlit, you can write texts in Markdown in Python docsting written with three double-quotation like """ text """. However, texts in docsting is not highlighted, so this extension would be helpful.

Example-streamlit

Snippets

Begin typing md, markdown, or md/markdown and the autocomplete snippet will appear:

Snippet

Community

  • 2020-06-10 forked from python-string-sql

Release Notes

[0.1.0] - 2020-06-10

  • Published on VS Code marketplace

[0.0.1] - 2020-06-10

Added

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