[PR #2564] [CLOSED] Add reStructedText support #16471

Closed
opened 2025-11-02 12:11:25 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2564
Author: @lunny
Created: 9/21/2017
Status: Closed

Base: masterHead: lunny/reStructedText


📝 Commits (5)

  • 49362fc add reStructedText support and fix readme render bug
  • 7282b99 add tests
  • ebb63fc improve tests and fix comments
  • 1e07fb0 fix tests
  • 6a4f0f8 handle the error on render reStructuredText

📊 Changes

15 files changed (+15005 additions, -2 deletions)

View changed files

📝 main.go (+1 -0)
📝 modules/markup/orgmode/orgmode.go (+1 -1)
📝 modules/markup/orgmode/orgmode_test.go (+1 -1)
modules/markup/reStructuredText/reStructuredText.go (+57 -0)
modules/markup/reStructuredText/reStructuredText_test.go (+63 -0)
vendor/github.com/hhatto/gorst/LICENSE (+85 -0)
vendor/github.com/hhatto/gorst/Makefile (+45 -0)
vendor/github.com/hhatto/gorst/README.rst (+57 -0)
vendor/github.com/hhatto/gorst/doc.go (+22 -0)
vendor/github.com/hhatto/gorst/elemheap.go (+57 -0)
vendor/github.com/hhatto/gorst/output.go (+315 -0)
vendor/github.com/hhatto/gorst/parser.leg (+1256 -0)
vendor/github.com/hhatto/gorst/parser.leg.go (+12846 -0)
vendor/github.com/hhatto/gorst/rst.go (+193 -0)
📝 vendor/vendor.json (+6 -0)

📄 Description

should be part of #374, see below screenshots.

-1
-2


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2564 **Author:** [@lunny](https://github.com/lunny) **Created:** 9/21/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `lunny/reStructedText` --- ### 📝 Commits (5) - [`49362fc`](https://github.com/go-gitea/gitea/commit/49362fcb56a85d168535a55ea963e0c9afe77ff5) add reStructedText support and fix readme render bug - [`7282b99`](https://github.com/go-gitea/gitea/commit/7282b99dfff2c1065fd17ae4ed75bc3ae3499376) add tests - [`ebb63fc`](https://github.com/go-gitea/gitea/commit/ebb63fcbea35272c01168c9baa86fbc963aea24f) improve tests and fix comments - [`1e07fb0`](https://github.com/go-gitea/gitea/commit/1e07fb0fb4bd82759e0e8d02f7e1972507f05bc6) fix tests - [`6a4f0f8`](https://github.com/go-gitea/gitea/commit/6a4f0f887b564f72759dbbb90860c1a371359c71) handle the error on render reStructuredText ### 📊 Changes **15 files changed** (+15005 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+1 -0) 📝 `modules/markup/orgmode/orgmode.go` (+1 -1) 📝 `modules/markup/orgmode/orgmode_test.go` (+1 -1) ➕ `modules/markup/reStructuredText/reStructuredText.go` (+57 -0) ➕ `modules/markup/reStructuredText/reStructuredText_test.go` (+63 -0) ➕ `vendor/github.com/hhatto/gorst/LICENSE` (+85 -0) ➕ `vendor/github.com/hhatto/gorst/Makefile` (+45 -0) ➕ `vendor/github.com/hhatto/gorst/README.rst` (+57 -0) ➕ `vendor/github.com/hhatto/gorst/doc.go` (+22 -0) ➕ `vendor/github.com/hhatto/gorst/elemheap.go` (+57 -0) ➕ `vendor/github.com/hhatto/gorst/output.go` (+315 -0) ➕ `vendor/github.com/hhatto/gorst/parser.leg` (+1256 -0) ➕ `vendor/github.com/hhatto/gorst/parser.leg.go` (+12846 -0) ➕ `vendor/github.com/hhatto/gorst/rst.go` (+193 -0) 📝 `vendor/vendor.json` (+6 -0) </details> ### 📄 Description should be part of #374, see below screenshots. ![-1](https://user-images.githubusercontent.com/81045/30683836-8333d668-9ee1-11e7-8795-7aff19e4c656.png) ![-2](https://user-images.githubusercontent.com/81045/30683837-8335f894-9ee1-11e7-92d1-6f62276fc791.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:11:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16471