Cách biến Excel thành bảng Markdown
Điểm chính
- Chọn
- Đặt
- Dán
You want to put a table in a GitHub README or documentation. Markdown tables have many symbols and are tedious to write by hand. Choosing "Markdown table" in Convert an Excel Table to HTML or Markdown turns an Excel table straight into a Markdown table.
Các bước
- Choose an .xlsx with "Choose an Excel file".
- Choose the "Sheet", and under "Format" choose "Markdown table".
- Check the "After conversion" content and press "Copy result".
- Paste into the README or documentation.
Ticking "Make the first row a header" gives a Markdown header row (with a separator line).
What a Markdown table is
A way of writing tables with vertical bars (|) and hyphens (-). Used in GitHub, Notion and various blog and documentation tools.
Phù hợp với
- Putting a specification list in a GitHub README
- Putting comparison tables in technical documents
- Pasting tables into Markdown-compatible notes or blogs
Checks after pasting
- Is the table displayed correctly (check in the preview)?
- Are there vertical bars inside the text?
- Do column counts match?
Cautions
- A vertical bar (|) inside a cell can shift the columns
- Line breaks inside cells may not be representable as they are
- Colours and borders aren't included in Markdown tables
Ví dụ
Made a library compatibility table in Excel. Turned it into a Markdown table and pasted it into the README, where it displayed as a table on GitHub.
Common stumbling blocks
- The table breaks: check for vertical bars or line breaks in cells.
- No header row: check "Make the first row a header".
Frequently asked questions
Are column widths aligned?
They are adjusted automatically at display time.
Tóm tắt
From Excel to Markdown tables. Making tables for READMEs and documents is quick.
Dùng “Chuyển bảng Excel sang HTML hoặc Markdown” (miễn phí)Công cụ hay dùng cùng
- Chuyển Excel sang CSV hoặc JSON: Chuyển một trang tính Excel sang CSV, TSV hoặc JSON.
- Chuyển Word sang HTML: Chuyển văn bản Word thành HTML.
- Chuyển đổi CSV và JSON: Chuyển đổi giữa CSV và JSON ngay lập tức.
Nếu hướng dẫn này hữu ích, một khoản ủng hộ nhỏ sẽ là niềm động viên lớn.
Gửi tiền ủng hộ (¥300)Tặng quà (danh sách mong muốn Amazon)