When you find the right description on GitHub, you can download the raw file. The downloaded file is a plain-text file format with markdown statements. The file name extension is *.md. What is an easy way to download everything, text and images?
First solution
You can use the GitHub markdown printer to print the md file to PDF/DOCX an preserve the layout. Simply add the extension to your browser, select the md document on GitHub you want to print, then print to docx/pdf.
Check out the repo for more info. See also the HTML to MD online converter.
Second solution
You can user the GitHub markdown docx Visual Studio Code Extension. As the name suggests, this extension converts a markdown file to a Docx or a Pptx. In Visual Studio Code open the folder that contains the md files. Then you can right click the files and use md to docx to convert the file within the same folder, it gets the same file name, but with a different extension (docx).
See the documentation on how to install and use.