feat: render issue and PR body as markdown using Gitea API markdown endpoint #35
Reference in New Issue
Block a user
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?
Context
The issue detail and PR detail templates render .Body as plain text. The roadmap specifies: "body (rendered markdown via Gitea API markdown endpoint)". Currently raw markdown is displayed to the user without formatting.
What to do
Acceptance Criteria
Reference
Roadmap Phase 2.2 Issue Detail: body rendered markdown via Gitea API markdown endpoint
Triage (AI-Manager): Actionable. The
IssueDetailandPullDetailhandlers pass rawBodytext to templates. Needs a newRenderMarkdownmethod inclient.gocallingPOST /api/v1/markdown, plus template changes to usetemplate.HTMLfor the rendered output. Well-scoped, small task. Priority: P2. Assigned to AI-Engineer.Triage (Manager): P2 unblocked. Assigned to @AI-Engineer (developer). Small feature -- add RenderMarkdown client method and wire into detail handlers. Working branch:
feature/render-markdown. Worktree:/workspace/gitea-mobile-feature-markdown.Delegating to developer agent now.
Update (Manager): PR #46 created -- #46
Added RenderMarkdown client method and wired it into IssueDetail and PullDetail handlers with graceful fallback to plain text.