Description
Summary 💡
It would be great to have some onefetch work on repositories currently considered as "without source code", but with plain text or markdown.
Motivation 🔦
Plain text repos are a real thing and there are even very popular tools specifically to do this (hello https://github.com/Vinzent03/obsidian-git), so I believe these repos deserve the same beautiful information display as repos with real code.
Markdown is supposed to be supported, but it looks like it's not considered by onefetch at all. I believe it makes sense that languages like markdown don't count in fields like lines of code
and languages
but all other fields are still relevant (and Tokei already gives data for markdown and plain text, and even languages inside code blocks).
In a case that is currently detected as "without source code", irrelevant fields should be removed or their meaning could be adapted (logo corresponding to the most used format, same for languages, lines of code become lines of text, etc).
Currently, it's possible to add one (almost empty) python file to allow info to be displayed, but it's a silly solution in my opinion.