Consider support for reST (reStructuredText) preview #932

Closed
opened 2025-11-02 03:42:10 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @gagath on GitHub (Aug 2, 2017).

  • Gitea version (or commit ref): 1.1.2
  • Git version: N/A
  • Operating system: Debian Stretch
  • 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: N/A

Description

I have a lot of README files formatted in reStructuredText but the README rendered can only render Markdown files. Please consider reStructuredText rendering for those of us who prefer reST rather than Markdown.

I do not know how this can be done however, maybe by calling external Python library if there is no reST library in Go.

Screenshots

screenshot

Originally created by @gagath on GitHub (Aug 2, 2017). - Gitea version (or commit ref): 1.1.2 - Git version: N/A - Operating system: Debian Stretch - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: N/A ## Description I have a lot of README files formatted in [reStructuredText](https://en.wikipedia.org/wiki/ReStructuredText) but the README rendered can only render Markdown files. Please consider reStructuredText rendering for those of us who prefer reST rather than Markdown. I do not know how this can be done however, maybe by calling external Python library if there is no reST library in Go. ## Screenshots ![screenshot](https://user-images.githubusercontent.com/989521/28866488-6ae1e126-7773-11e7-9938-69926f3c4997.png)
GiteaMirror added the issue/duplicate label 2025-11-02 03:42:10 -06:00
Author
Owner

@lunny commented on GitHub (Aug 2, 2017):

duplicated with #374

@lunny commented on GitHub (Aug 2, 2017): duplicated with #374
Author
Owner

@lunny commented on GitHub (Sep 21, 2017):

see https://github.com/go-gitea/gitea/pull/2564

@lunny commented on GitHub (Sep 21, 2017): see https://github.com/go-gitea/gitea/pull/2564
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#932