How to display scripts contents in hugo?

Hello,

I am using gohugo for a wiki like website and I am wondering how I should share some shell scripts.

I could create a markdown file for each shell scripts but it seems really cumbersome and I think it should have a better way to do it. Maybe pointing on the git repository itself

So how are you sharing scripts or other text files in an hugo website in a nice way ?

Thanks,

Alain