Table to Markdown Copier

Convert html table to markdown format

Δημιουργός
Du Dang
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
142
Βαθμολογίες
3 0 0
Έκδοση
1.0.1
Δημιουργήθηκε την
28/01/2017
Ενημερώθηκε την
08/02/2017
Άδεια
MIT
Εφαρμόζεται σε
Όλοι οι ιστοχώροι

Table to Markdown Copier

Copy any html table on the web and convert them into markdown format.

Git Hub Repo

Usage

  1. Display The Interface
    • Press Shift, Shift, T (press in sequence, not together as combination)
  2. Click on the "MD" button to copy the markdown content to your clipboard

Features

  • Support both th and td (old vs new table markup)
  • Support colspan

Limitation

  • If the colspan is not exact, this will create improper table size (sometime ppl use large colspan to fill the unknown column size colspan="100" even when there only 7 columns for instance)

Todo

  • [ ] Fix the colspan error
  • [x] Add ref link below the table
  • [ ] Detect and generate text alignment

Example

Regular table

Before turn on the markdown control

Table after markdown table control is activated

After turn on the markdown control

Markdown Content

| Character | Byte order             | Size     | Alignment   |
|-----------|------------------------|----------|-------------|
| @         | native                 | native   | native      |
| =         | native                 | standard | none        |
| <         | little-endian          | standard | none        |
| >         | big-endian             | standard | none        |
| !         | network (= big-endian) | standard | none        |
[Table Source](https://docs.python.org/3/library/struct.html#byte-order-size-and-alignment)

License

MIT License