Skip to content

Commit f2a9b67

Browse files
committed
add open from vscode document
1 parent d2f48c8 commit f2a9b67

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ Thumbs.db
2727
.idea/*
2828
.jekyll-cache
2929
_posts/_site
30+
.claude/settings.local.json
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
layout: post
3+
title: Open in Typora — VS Code Extension
4+
category: how-to
5+
author: typora.io
6+
tags:
7+
- vscode
8+
- cursor
9+
- ide
10+
typora-root-url: ../../
11+
---
12+
13+
If you use both **Visual Studio Code** / **Cursor** and **Typora**, you can now switch between them seamlessly with the [**Open in Typora**](https://marketplace.visualstudio.com/items?itemName=typora.typora-open-in-typora) extension for VS Code.
14+
15+
This extension adds an **"Open in Typora"** action to the right-click context menu in VS Code, allowing you to quickly open any Markdown file in Typora with a single click.
16+
17+
## Install
18+
19+
1. Open **Visual Studio Code** or **cursor**.
20+
2. Go to the **Extensions** view (`Ctrl+Shift+X` / `Cmd+Shift+X`).
21+
3. Search for **"Open in Typora"**.
22+
4. Click **Install**.
23+
24+
Or install it directly from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=typora.typora-open-in-typora).
25+
26+
## Usage
27+
28+
1. In VS Code, right-click on a Markdown file in the **Explorer** sidebar or in the **editor tab**.
29+
2. Select **"Open in Typora"** from the context menu.
30+
3. The file will open in Typora.
31+
32+
## Supported File Extensions
33+
34+
The following file extensions are supported by default:
35+
36+
`.md`, `.markdown`, `.mdown`, `.mmd`, `.text`, `.txt`, `.rmarkdown`, `.mkd`, `.mdwn`, `.mdtxt`, `.rmd`, `.qmd`, `.mdtext`, `.mdx`
37+
38+
### Customize Supported Extensions
39+
40+
You can customize which file types are available for the "Open in Typora" action by modifying the `typora.supportedExtensions` setting in VS Code:
41+
42+
1. Open **Settings** (`Ctrl+,` / `Cmd+,`).
43+
2. Search for `typora.supportedExtensions`.
44+
3. Edit the list of extensions (without the dot prefix), for example:
45+
46+
```json
47+
"typora.supportedExtensions": ["md", "markdown", "txt", "qmd"]
48+
```
49+
50+
## Requirements
51+
52+
- **Typora** must be installed on your system.
53+
- **VS Code** 1.85.0 or higher.
54+
- On **Windows** and **Linux**, `typora` should be available in your system `PATH`.
55+
56+
## Source Code
57+
58+
The extension is open source. Visit the [GitHub repository](https://github.com/typora/vscode-open-in-typora) for source code and issue reporting.

_posts/new/2026-03-07-What's New-1.13.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ typora-copy-images-to: ../../media/new-1.13
2323

2424
<img src="/media/new-1.13/mathjax-v4-samples.png" alt="MathJax v4 samples" style="zoom:50%;" />
2525

26+
### Open in Typora from VSCode or Cursor
27+
28+
We published the [**Open in Typora**](https://marketplace.visualstudio.com/items?itemName=typora.typora-open-in-typora) extension for Visual Studio Code and Cursor. Right-click any Markdown file in the explorer or editor tab and select "Open in Typora" to launch it directly in Typora.
29+
30+
See [Open in Typora — VS Code Extension](/Open-in-Typora-—-VS-Code-Extension/) for installation and usage details.
31+
2632
### General Improvements
2733

2834
- Upgraded Mermaid to v11.12, fixed document link addresses and sub-element rendering in Mermaid diagrams.
@@ -31,6 +37,8 @@ typora-copy-images-to: ../../media/new-1.13
3137

3238
<img src="/media/new-1.13/reload-after-settings-change.png" alt="Reload prompt after changing settings" style="zoom:50%;" />
3339

40+
- Better sidebar resize indicator UI.
41+
3442
- Improved search performance.
3543

3644
- Improved UI, including the source code mode button on macOS 26.

0 commit comments

Comments
 (0)