You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] Markdown files should render in markdown and not plain text #794
From a UX perspective, imo having a Toggle group similar to GitHub would probably make sense to select between previewing the README or viewing the raw source.
Hi, I'd like to pick this up. My plan: detect markdown files in the browse view and render them GitHub-style by default, with a toggle to switch back to the raw source (the existing CodeMirror view stays as-is). Rendering would use react-markdown, which is already a dependency. I have the project running locally and the issue reproduced. Does that approach sound good before I start on a PR?
When viewing a markdown file, it would be useful if it actually rendered, and then gave you the option to view the raw source. GitHub does this: https://github.com/sourcebot-dev/sourcebot/blob/main/README.md