diff options
| author | MaheshtheDev <[email protected]> | 2025-11-03 00:41:58 +0000 |
|---|---|---|
| committer | MaheshtheDev <[email protected]> | 2025-11-03 00:41:59 +0000 |
| commit | 8d8d6d91aa8cdec49e7e6ef87cbc5622d0bc16ed (patch) | |
| tree | 27862f7558d837615d2af6cea8c30ea03d414096 /bun.lock | |
| parent | chore: update readme with recent updates and latest demo (#547) (diff) | |
| download | supermemory-8d8d6d91aa8cdec49e7e6ef87cbc5622d0bc16ed.tar.xz supermemory-8d8d6d91aa8cdec49e7e6ef87cbc5622d0bc16ed.zip | |
feat(browser-extension): webpages capture with markdown conversion (#548)10-31-feat_browser-extension_webpages_capture_with_markdown_conversion
Improved browser extension memory saving with better content handling and added markdown conversion.
### What changed?
- Enhanced memory content handling in the background script to prioritize different content types (explicit content, highlighted text, markdown, HTML, or URL)
- Added HTML to markdown conversion using TurndownService when saving entire pages
- Improved HTML handling by removing script tags before processing
- Updated the web app to display the saved URL from metadata when available
- Added turndown library and its type definitions as dependencies
Diffstat (limited to 'bun.lock')
| -rw-r--r-- | bun.lock | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -57,11 +57,13 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "tailwindcss": "^4.1.12", + "turndown": "^7.1.3", }, "devDependencies": { "@types/chrome": "^0.1.4", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.3", + "@types/turndown": "^5.0.5", "@wxt-dev/module-react": "^1.1.3", "typescript": "^5.8.3", "wxt": "^0.20.6", @@ -1792,6 +1794,8 @@ "@types/trusted-types": ["@types/[email protected]", "", {}, "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="], + "@types/turndown": ["@types/[email protected]", "", {}, "sha512-ru00MoyeeouE5BX4gRL+6m/BsDfbRayOskWqUvh7CLGW+UXxHQItqALa38kKnOiZPqJrtzJUgAC2+F0rL1S4Pg=="], + "@types/unist": ["@types/[email protected]", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="], "@types/urijs": ["@types/[email protected]", "", {}, "sha512-XOfUup9r3Y06nFAZh3WvO0rBU4OtlfPB/vgxpjg+NRdGU6CN6djdc6OEiH+PcqHCY6eFLo9Ista73uarf4gnBg=="], |