diff options
| author | Clawd <ai@clawd.bot> | 2026-02-28 13:48:34 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-28 13:48:34 -0800 |
| commit | c386a1acfab0db99af57a9a18a49c72b89184f15 (patch) | |
| tree | 1b4c81ea2b992be3e19789ca21e7bb9f4f99bbc5 /package.json | |
| parent | afe1cd0918e182b8107ffa81b9f9d6cdec4615ae (diff) | |
Replace custom markdown renderer with react-markdown
- Add react-markdown and remark-gfm dependencies
- Remove hacky regex-based renderMarkdown function
- Full GFM support: tables, task lists, strikethrough, autolinks
- Update CSS for react-markdown output (task lists, blockquotes, hr)
- Cleaner, more maintainable code
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index a76759a..7bc98e3 100644 --- a/package.json +++ b/package.json | |||
| @@ -47,6 +47,8 @@ | |||
| 47 | "better-sqlite3": "12.2.0", | 47 | "better-sqlite3": "12.2.0", |
| 48 | "react": "^19.1.1", | 48 | "react": "^19.1.1", |
| 49 | "react-dom": "^19.1.1", | 49 | "react-dom": "^19.1.1", |
| 50 | "react-markdown": "^10.1.0", | ||
| 51 | "remark-gfm": "^4.0.1", | ||
| 50 | "uuid": "^13.0.0" | 52 | "uuid": "^13.0.0" |
| 51 | }, | 53 | }, |
| 52 | "devDependencies": { | 54 | "devDependencies": { |
