wiki-tui
wiki-tui copied to clipboard
[BUG] can't display the table in this page, displays <Unsupported Element 'Table'> instead
General Information Version: 0.9.1 Installation Method: nix Operating System: kali
Used configuration (if available): whatever default config the nix version comes with
Describe the bug
wiki-tui can't display the table on this page. Instead of the table, wiki-tui displays <Unsupported Element 'Table'> instead.
To Reproduce Steps to reproduce the behavior:
- Go to https://en.wikipedia.org/wiki/List_of_file_signatures
- See error
Expected behavior wiki-tui should display the table
Checklist
- [ ] checked other issues for the same bug
- [x] read
CONTRIBUTING.md
You are right @terminaldweller, wiki-tui currently doesn't support tables (aswell as some other elements, like images or math). I don't have an elegant way of supporting tables (without implementing my own custom table rendering) yet.
We could use the built-in table widget of ratatui, or any other third-party table widget. But these solutions all have the problem of only supporting raw text, meaning no links/codeblocks/highlighting/etc. inside of the tables.