feat: HTML and rich text to Markdown

オープン
#180 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
markdown, react, typescript
領域
frontend, tooling

調査の方向性

Start with “Adding a tool” in docs/CODEMAP.md, then inspect the existing Markdown renderer and nearby tools under src/tools/ for the component and test patterns. Implement the conversion in src/tools/<slug>/<slug>.ts with a Vitest test, and register it in src/tools/catalog.ts and src/tools/registry.tsx. Done means rich text or HTML converts to Markdown for the listed elements, pasted scripts are never run, and the tool works offline in light and dark modes at phone width.

索引モデルが issue の本文から書いたものです。

説明

enhancement new tool wave-4

Why

Moving content from Google Docs, a web page or an email into Markdown (READMEs, Notion, Obsidian, dev.to) is tedious by hand.

Replaces: turndown-based upload sites, paid Docs to Markdown add-ons.

Scope

  • Paste rich text (read text/html from the clipboard) or HTML, get Markdown; and the other way via the existing Markdown renderer.
  • Headings, lists, links, bold and italic, code, tables, images.
  • Sanitise input; never run pasted scripts.

Dependency

None. Web APIs only (Clipboard API, DOMParser).

Done when

  • Logic lives in src/tools/<slug>/<slug>.ts with a Vitest test; the component only renders it.
  • One entry in src/tools/catalog.ts (category, audience, keywords, replaces) and one in src/tools/registry.tsx. See "Adding a tool" in docs/CODEMAP.md.
  • Nothing leaves the browser. It works offline once the page has loaded.
  • Works in light and dark mode and at phone width, with no layout shift when its state changes.
主要言語
TypeScript
スター
2
フォーク
1
平均マージ
2日 21時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ajithakdev/toolglass のほかの issue

ajithakdev/toolglass の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。