charmbracelet / soft-serve

The mighty, self-hostable Git server for the command line🍦
MIT License
5.2k stars 132 forks source link

fix: only use glamour for mk files #467

Closed aymanbagabas closed 7 months ago

aymanbagabas commented 7 months ago

Use Glamour to render readmes when file is markdown formatted

Fixes: https://github.com/charmbracelet/soft-serve/issues/463

codecov[bot] commented 7 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (b06b555) 51.96% compared to head (ead2892) 52.02%.

Files Patch % Lines
pkg/ui/pages/repo/files.go 0.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #467 +/- ## ========================================== + Coverage 51.96% 52.02% +0.06% ========================================== Files 157 157 Lines 13454 13454 ========================================== + Hits 6991 7000 +9 + Misses 5891 5882 -9 Partials 572 572 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.