Support for Markless Documents #2340
Labels
No labels
accessibility
bug
bug
infrastructure
Codeberg
contributions welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
please chill
we are volunteers
public relations
question
question
user support
s/Forgejo
s/Forgejo/migration
s/Pages
s/Weblate
s/Woodpecker
security
service
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/Community#2340
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Comment
As discussed in forgejo/forgejo#10629: Currently several types of documents on Codeberg are nicely presented with rendered previews in the UI, such as Markdown, Org, ASCIIdoc, and more, but Markless documents are still rendered as monospaced plaintext documents, which makes them appear ugly and hard to read.
You can find several people in the Forgejo issue ticket expressing desire for support of this feature on Codeberg.
I've already done all the legwork for both a native Go implementation and a patch to Forgejo to support Markless rendering in shinmera/forgejo@178a65813b and also as a standalone Go application, which can be configured in a Forgejo instance as shown here: forgejo/forgejo#10629 (comment)
Further I've contributed syntax highlighting support for Chroma, which has been merged in v2.23.0. I'm also looking into implementing a module for Lezer and CM6, which I understand is the editor in use by Forgejo these days, though I've gotten much busier recently so I'm not sure when that'll get done.