Как превратить Excel в таблицу Markdown
Главное
- Выбор
- Настройка
- Вставка
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.
Шаги
- 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.
Подходит для
- 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
Пример
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.
Итог
From Excel to Markdown tables. Making tables for READMEs and documents is quick.
Использовать «Преобразовать таблицу Excel в HTML или Markdown» (бесплатно)Инструменты, которые хорошо сочетаются с этим
- Преобразовать Excel в CSV или JSON: Преобразуйте лист Excel в CSV, TSV или JSON.
- Преобразовать Word в HTML: Превратите текст Word в HTML.
- Преобразовать CSV и JSON: Мгновенно преобразуйте между CSV и JSON.
Если это руководство помогло, небольшие чаевые будут очень ценны.
Отправить чаевые (¥300)Отправить подарок (список желаний Amazon)