Markdown Copilot for Visual Studio CodeMarkdown Copilot is an OpenAI ChatGPT API client for VSCode. ![]() Markdown Copilot enables you to fully replace the OpenAI ChatGPT WebUI, offering superior features such as:
Note: An OpenAI, Azure OpenAI, OpenRouter, or local Ollama instance is required to use this extension. For configuration:
🌟 Key Features⚡ Model Context Protocol Server UsingMarkdown Copilot can extend its functionality through Model Context Protocol (MCP) servers. By enabling access to external tools and data sources via MCP servers, you can have more powerful and accurate conversations. To use override tools, include a JSON code block labeled Example: List available tools using override tools
For instructions on adding an MCP server, please refer to the Use MCP servers in VS Code: Add an MCP server. 🔀 Parallel EditingExecute multiple auto-edits simultaneously, enhancing your productivity by not having to wait for one edit to complete before starting another. ![]() 📝 Contextual EditingMarkdown Copilot answers to selected text based on context. To use, select a text range and choose ![]() Or use shortcuts for quick access:
![]() ᝰ Override OptionsCustomize Markdown Copilot's behavior with override options. This allows you to control settings like response length or the AI model directly within your document. To use override options, simply include a JSON or YAML code block labeled Example: Let Markdown Copilot introduce itself with customized response length and model (JSON)
Example: Let Markdown Copilot introduce itself with customized response length and model (YAML)
Example: Using the The
Example: Using local Ollama with
Example: Using local Ollama with
For more configuration options, please refer to the OpenAI API: Create chat completion. 📛 Name and Save FileMarkdown Copilot allows you to name and save a file based on its contents. To use, select the editor you want to name and save, and use the Or use shortcuts for quick access:
🏷️ Titling the Active ContextMarkdown Copilot allows you to title a conversation based on the conversation history.
Conversation titles are represented as lines beginning with To use, move the cursor to the context you want to title and use the Or use shortcuts for quick access:
🪄 Summarize and New ContextMarkdown Copilot allows you to summarize the current context and start a new context based on the summary. This feature helps prevent the conversation context from becoming excessively long, which can impair the model's ability to process the conversation effectively, while also making it easier for you to grasp the conversation's essence. To use, move the cursor to the context you want to summarize and use the
📋⤵ Paste as Pretty TextMarkdown Copilot allows you to paste clipboard content into your document in an intelligent way, adapting to the file type. This feature ensures that pasted content integrates seamlessly into your editing files, avoiding unnecessary formatting issues. To use this feature, select the location where you want to paste the content and use the Or use shortcuts for quick access:
📥 Import Other Markdown FilesMarkdown Copilot allows you to easily import other Markdown files into your current document. This enables you to reference or reuse content from other documents. To import another Markdown file, use the Example with a relative path: Import
Example with an absolute path: Use an absolute path from the root directory of the workspace to import
When the current document is unsaved and thus lacks a confirmed file path, you must use an absolute path to specify other Markdown files to be imported. 🎛 Context ControlManage conversational contexts hierarchically, using context indentation and syntax colors for visual context highlighting. ![]() ♯ Context Notation in MarkdownThe active context is determined by tracing back the context indent from the cursor line.
Can force a context guard with a line starting with ![]() If you select ![]() More complex example: the context continues across ![]() Specifying a speaker: You can specify a speaker by placing a special Markdown notation at the beginning of a line.
⤷ Context IndentationSimplify the editing of context indentation levels with intuitive actions. Select text and choose ![]() Or use these shortcuts:
![]() 📋 Prerequisites
🔌 Enhance Your Markdown ExperienceCombine Markdown Copilot with these extensions for an even more powerful Markdown experience:
🔄 ChangelogFor detailed updates, refer to the CHANGELOG. 🤝 Get Involved
|