A Chrome browser extension that converts web page content to Markdown format.
English | 中文
- 📋 One-click conversion of web content to Markdown
- 🎨 Preserves original formatting and structure
- 🖼️ Supports image processing
- 🔗 Preserves links and references
- 📄 Supports various common HTML elements
- 🎯 Simple and easy-to-use sidebar interface
-
Clone this repository to your local machine:
git clone [email protected]:congduan/Html2Markdown.git
-
Open Chrome browser and go to the extensions management page:
- Enter
chrome://extensions/in the address bar - Enable "Developer mode" in the top right corner
- Enter
-
Click "Load unpacked" and select the cloned project directory
-
The extension is installed, and you can see the extension icon in the browser toolbar
- Open the web page you want to convert
- Click the extension icon in the browser toolbar
- The sidebar will display the converted Markdown content
- You can directly copy the converted Markdown text
Html2Markdown/
├── background.js # Extension background script
├── content.js # Content script for processing web page content
├── manifest.json # Extension configuration file
├── sidebar.html # Sidebar interface
├── sidebar.js # Sidebar logic
├── icons/ # Extension icons
├── libs/ # Dependent libraries
└── README.md # Project documentation
- Uses Chrome Extension API
- Native JavaScript implementation of HTML to Markdown conversion
- Responsive sidebar design
Welcome to submit Issues and Pull Requests to improve this project!
MIT License
- GitHub: congduan