webui: markdown viewer by nijotz · Pull Request #1572 · git-bug/git-bug · GitHub
Skip to content

webui: markdown viewer#1572

Merged
MichaelMure merged 2 commits into
git-bug:trunkfrom
nijotz:webui-blob-markdown
Jun 16, 2026
Merged

webui: markdown viewer#1572
MichaelMure merged 2 commits into
git-bug:trunkfrom
nijotz:webui-blob-markdown

Conversation

@nijotz

@nijotz nijotz commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

The directory view already renders a folder's README.md as markdown. This adds that same viewer for other markdown files in the repo with a Preview/Code toggle with a FileContent component (with a story and snapshot test). I could see the FileContent component being a switch for other file types as well, like images.

@MichaelMure MichaelMure force-pushed the webui-blob-markdown branch from dbf6bae to c4dc48b Compare June 16, 2026 09:14
@MichaelMure

Copy link
Copy Markdown
Contributor

@MichaelMure MichaelMure added this pull request to the merge queue Jun 16, 2026
Merged via the queue into git-bug:trunk with commit 1a5e57d Jun 16, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants