Skip to content

Markdown Preview: live preview with formatted copy; CSV to Table copies as a rich table - #29

Merged
fadeltd merged 1 commit into
mainfrom
feat/markdown-preview
Nov 16, 2026
Merged

fadeltd merged 1 commit into
mainfrom
feat/markdown-preview

Conversation

@fadeltd

@fadeltd fadeltd commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Added

  • Markdown Preview: GitHub-flavoured Markdown beside a live preview
  • Copy formatted puts rich text and the Markdown source on the clipboard, so tables stay tables in Slack, Google Docs and Gmail
  • Copy Markdown copies just the source
  • Raw HTML in the source is shown as text; links limited to http, https, mailto and tel; remote images are not loaded
  • CSV to Table: Copy formatted in the Table and Markdown views, up to 10,000 cells
  • @fadeltd/devtools-core/markdown engine, and toHtmlTable in /csv

Fixed

  • CSV to Table: Ctrl/Cmd+Shift+C in the Table view copied nothing

Closes #28

…es as a rich table

Adds a Markdown Preview tool: GitHub-flavoured Markdown beside a live preview, with Copy formatted putting text/html and the Markdown source on the clipboard so a paste into Slack, Google Docs or Gmail keeps tables and formatting.

The engine is a new `@fadeltd/devtools-core/markdown` subpath: `parseMarkdown` (marked's tokenizer into a plain-data tree, raw HTML kept as text, link schemes allowlisted), `toHtml` (escaped HTML with a fixed tag set) and `limitDoc` (a node budget for the preview). Parsing runs in a worker and the preview is built as React elements, never as an HTML string.

CSV to Table gets the same Copy formatted in its Table and Markdown views, through a new `toHtmlTable` in the csv engine, and its copy shortcut now works in the Table view, where it copied nothing.

Closes #28
@fadeltd fadeltd self-assigned this Nov 16, 2026
@fadeltd
fadeltd merged commit 47fb759 into main Nov 16, 2026
1 check passed
@fadeltd
fadeltd deleted the feat/markdown-preview branch November 16, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Markdown live preview tool with rich-text copy (pastes as formatted tables in Slack)

1 participant