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

Special file handling #83

Open
xfbs opened this issue Oct 31, 2024 · 0 comments
Open

Special file handling #83

xfbs opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@xfbs
Copy link
Owner

xfbs commented Oct 31, 2024

We should handle some file types specially:

  • If you look at a Markdown file, you should be able to render it as an actual markdown file (we could still show a diff, but when you render it, it would be word-based and not line-based)
  • If you look at an image/pdf/..., we should display it
  • If you look at a binary file, we should show it as hex-encoded (similar to xxd or hexdump output)
@xfbs xfbs added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant