evaluate comrak as Markdown parser, renderer #12809

Closed
opened 2025-11-02 10:21:41 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @nschloe on GitHub (Apr 9, 2024).

Feature Description

Recently, comrak gained support for math parsing. It now fulfills most of (everything?) what Gitea requires, so it's perhaps worthwhile considering it as a parser/renderer. GitLab already has and step-by-step replaces their own quirks.

My main motivation for suggesting this stems from Gitea's various math bugs, e.g.:

Screenshots

No response

Originally created by @nschloe on GitHub (Apr 9, 2024). ### Feature Description Recently, [comrak](https://github.com/kivikakk/comrak) gained support for math parsing. It now fulfills most of (everything?) what Gitea requires, so it's perhaps worthwhile considering it as a parser/renderer. GitLab already has and [step-by-step replaces their own quirks](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/issues/11). My main motivation for suggesting this stems from Gitea's various math bugs, e.g.: - #28259 - #28070 - #27834 - #27777 - #27618 - etc. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:21:41 -06:00
Author
Owner

@delvh commented on GitHub (Apr 9, 2024):

Erm… How is gitea supposed to include Rust code as a Go project?

@delvh commented on GitHub (Apr 9, 2024): Erm… How is gitea supposed to include Rust code as a Go project?
Author
Owner

@nschloe commented on GitHub (Apr 9, 2024):

I thought it might be possible since GitLab, written in Ruby, does the same.

@nschloe commented on GitHub (Apr 9, 2024): I thought it might be possible since GitLab, written in Ruby, does the same.
Author
Owner

@KN4CK3R commented on GitHub (Apr 9, 2024):

They use it as library with Ruby binding, nothing we want to do.

@KN4CK3R commented on GitHub (Apr 9, 2024): They use it as library with Ruby binding, nothing we want to do.
Author
Owner

@nschloe commented on GitHub (Apr 9, 2024):

Alright, thanks for the input. Closing.

@nschloe commented on GitHub (Apr 9, 2024): Alright, thanks for the input. Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12809