[PR #1493] [MERGED] Add markup package to prepare for org markup format #15927

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1493
Author: @lunny
Created: 4/14/2017
Status: Merged
Merged: 4/21/2017
Merged by: @bkcsoft

Base: masterHead: lunny/markup


📝 Commits (5)

📊 Changes

6 files changed (+157 additions, -51 deletions)

View changed files

📝 modules/markdown/markdown.go (+29 -12)
📝 modules/markdown/markdown_test.go (+4 -25)
modules/markup/markup.go (+72 -0)
modules/markup/markup_test.go (+36 -0)
📝 routers/repo/view.go (+14 -13)
📝 routers/repo/wiki.go (+2 -1)

📄 Description

This PR add an abstraction markup for markdown, org_mode, PythonNotebook or other markup formats. Currently it's only a refactor to only support markdown. But that should be easy to support more. Related #1272


🔄 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/1493 **Author:** [@lunny](https://github.com/lunny) **Created:** 4/14/2017 **Status:** ✅ Merged **Merged:** 4/21/2017 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `lunny/markup` --- ### 📝 Commits (5) - [`a69fab7`](https://github.com/go-gitea/gitea/commit/a69fab7e0ff7d63796e8a6059699b567ae3519ce) add markup package to prepare for org markup format - [`85059af`](https://github.com/go-gitea/gitea/commit/85059af123772063121f3b463b93ed4295ba5291) bug fix - [`161893b`](https://github.com/go-gitea/gitea/commit/161893b1b5e463a83962d71bde18717e21920934) bug fix - [`8e4b044`](https://github.com/go-gitea/gitea/commit/8e4b044a79de43898c605cad81533232804a140a) fix test - [`cdc20eb`](https://github.com/go-gitea/gitea/commit/cdc20ebbf519acb204237cec7568f701e64d893c) fix comment ### 📊 Changes **6 files changed** (+157 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `modules/markdown/markdown.go` (+29 -12) 📝 `modules/markdown/markdown_test.go` (+4 -25) ➕ `modules/markup/markup.go` (+72 -0) ➕ `modules/markup/markup_test.go` (+36 -0) 📝 `routers/repo/view.go` (+14 -13) 📝 `routers/repo/wiki.go` (+2 -1) </details> ### 📄 Description This PR add an abstraction `markup` for markdown, org_mode, PythonNotebook or other markup formats. Currently it's only a refactor to only support markdown. But that should be easy to support more. Related #1272 --- <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 11:58:06 -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#15927