Closed
Description
- Gitea version (or commit ref): 1.4.3
- Git version: 2.18.0
- Operating system: FreeBSD 11.2-RELEASE
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Currently, files are only checked against external markup extensions when the file is a text file:
Lines 201 to 214 in fc0001c
I would like to be able to use external markup renderers to render previews of some binary formats, similar to how PDFs can be displayed inline. Instead, I always get the "view raw" page for binary files.