├── README.md ├── assets ├── excel.gif └── paste.gif ├── index.html └── paste └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # Excel to Typst Converter 2 | 3 | > [!IMPORTANT] 4 | > Try my new package [ReXLlenT](https://github.com/hongjr03/typst-xml-table-parser) in typst, which works as the from-excel method below (even better)! 5 | 6 | [From Excel](https://hongjr03.github.io/excel-to-typst/) | [From Clipboard](https://hongjr03.github.io/excel-to-typst/paste) 7 | 8 | A tool to convert Excel tables (or Word, PowerPoint, Numbers...) to Typst tables. It supports converting from a specified worksheet or reading from the clipboard. Based on the work of @flaribbit. 9 | 10 | ## Features 11 | 12 | - Convert Excel tables to Typst format 13 | - Support for other formats like Word, PowerPoint, Numbers 14 | - Option to select specific worksheets for conversion (**From Excel** or [ReXLlenT](https://github.com/hongjr03/typst-xml-table-parser)) 15 | - Clipboard reading and conversion, and option to convert alignment (**From Clipboard**) 16 | 17 | ## Getting Started 18 | 19 | To use this tool, visit the [From Excel](https://hongjr03.github.io/excel-to-typst/) or [From Clipboard](https://hongjr03.github.io/excel-to-typst/paste) pages. 20 | 21 | ## Example 22 | 23 | Here are some examples: 24 | 25 | - From Excel 26 | 27 | ![excel](assets/excel.gif) 28 | 29 | - From Clipboard 30 | 31 | ![paste](assets/paste.gif) 32 | 33 | ## Star History 34 | 35 | 36 | 37 | 38 | 39 | Star History Chart 40 | 41 | 42 | -------------------------------------------------------------------------------- /assets/excel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjr03/excel-to-typst/dd490bb630d4ab2a796217ad61aa15531171b942/assets/excel.gif -------------------------------------------------------------------------------- /assets/paste.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjr03/excel-to-typst/dd490bb630d4ab2a796217ad61aa15531171b942/assets/paste.gif -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Excel to Typst Converter 7 | 8 | 9 | 10 | 11 |
12 |

13 | Excel to Typst Converter 14 |

15 |

16 | Select an Excel file and click the "Convert" button to generate Typst code. Jump to: 17 | 21 | Clipboard to Typst Converter 22 | 23 |

24 | 25 |
26 | 33 | 37 |
38 | 39 | 45 |
46 | 50 |
51 |
52 | 53 | 162 | 163 | -------------------------------------------------------------------------------- /paste/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Clipboard to Typst Converter 8 | 9 | 12 | 13 | 14 | 15 |
16 |

17 | Clipboard to Typst Converter 18 |

19 | 20 |

21 | Copy table content from Word, Excel, Numbers, etc., paste it into the 22 | input box below, and click the "Convert to Typst" button to generate 23 | Typst code. Jump to: 24 | 25 | Excel to Typst Converter 26 | 27 |

28 | 29 |
30 | 33 |
34 | 35 |
36 | 39 |
40 |
41 | 42 |
43 |
44 | 48 |
49 |
50 | 54 |
55 |
56 | 60 |
61 |
62 |
63 |
64 | 65 |
66 |
67 | 71 |
72 |
73 | 77 |
78 |
79 | 83 |
84 |
85 |
86 |
87 |
88 | 89 |
90 | 95 |
96 | 97 |
98 | 102 |
103 | 104 |
105 |

Typst Code:

106 | 109 |
110 |
111 |

Preview:

112 |
113 |
114 |
115 | 116 | 279 | 280 | 281 | --------------------------------------------------------------------------------