Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] can't display the table in this page, displays <Unsupported Element 'Table'> instead #242

Open
1 of 2 tasks
terminaldweller opened this issue Dec 21, 2024 · 1 comment
Labels
type: bug This fixes a bug. Increment the minor version

Comments

@terminaldweller
Copy link

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:

  1. Go to https://en.wikipedia.org/wiki/List_of_file_signatures
  2. See error

Expected behavior
wiki-tui should display the table

Checklist

  • checked other issues for the same bug
  • read CONTRIBUTING.md
@terminaldweller terminaldweller added the type: bug This fixes a bug. Increment the minor version label Dec 21, 2024
@Builditluc
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug This fixes a bug. Increment the minor version
Projects
Status: Todo
Development

No branches or pull requests

2 participants