X.com(Twitter)2Markdown

将X.com(Twitter)的推文(Tweet)和长文章(Article)转换为Markdown格式并下载

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Aŭtoro
Yiwu Zhang
Ĉiutagaj instaloj
1
Tutaj instaloj
6
Ratings
0 0 0
Versio
1.1.4
Kreita
2026/02/11
Ĝisdatigita
2026/02/11
Size
30 kb
Licenco
MIT
Aplikiĝas al

X.com(Twitter)2Markdown

将 X.com (Twitter) 的推文(Tweet)和长文章(Article)一键转换为 Markdown 格式并下载保存。

功能特性

  • 📝 支持推文和长文章两种类型
  • 🖼️ 自动处理图片、链接、引言
  • 💻 代码块语法高亮(自动识别 Rust/Go/Python/JS 等语言)
  • 🔖 保留文章元信息(标题、作者、发布时间、原文链接)
  • ✨ 保持代码缩进格式

使用方法

  1. 安装 Tampermonkey/Greasemonkey 浏览器扩展
  2. 导入 x_tweet2markdown-1.0.0.userscript.js
  3. 打开任意 X.com 推文或文章页面
  4. 点击右上角「📄 下载为Markdown」按钮
  5. 自动下载 .md 文件到本地

效果示例

---
title: "文章标题"
author: "作者 (@username)"
date: 2026/2/10 10:15:52
source: "X (Twitter) Articles"
url: https://x.com/...
---

# 文章标题

> 引言内容

正文内容...

```rust
fn main() {
    println!("代码块保留缩进");
}

## 版本

当前版本:v1.1.4