hackmdio / hackmdio/codimd

Suggestion: paste from HTML table and convert to markdown table

Aperta
#659 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub
feature
Lingua principale
JavaScript
Stelle
10.1k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

github markdown has supported this

![default](https://user-images.githubusercontent.com/9161438/34319554-f81c9348-e81f-11e7-947a-35bfdc52935e.png)

When I copy a table in excel, my raw data is like

![img](https://user-images.githubusercontent.com/9161438/34319551-e22992c0-e81f-11e7-8dec-9e0765a9f9d4.png)

Some simple `tr` and `td` in the data

And if I paste on github, I will get

```

1 | 5
-- | --
2 | 6
3 | 7
4 | 8

```

the rendered version

1 | 5
-- | --
2 | 6
3 | 7
4 | 8

I think it's a good feature if hackmd will support it

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue names no files, tests, or entry points. Start by locating the editor's paste handling and the path that converts pasted HTML tables into Markdown, then reproduce the Excel table example. Done means pasting an HTML table produces a correctly rendered Markdown table without breaking existing paste behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
html, javascript, markdown
Ambito
content, frontend
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.