posener / goreadme

Generate readme file from Go doc. Now available as a Github action!
MIT License
213 stars 31 forks source link

Fix codeblock languauge (golang -> go) and improve functions blocks #127

Closed alexandregv closed 6 months ago

alexandregv commented 6 months ago

The correct markdown language identifier for Go is go, not golang. Fixing this allows to get correct syntax highlighting in every markdown processor.
This PR also adds a new gocodeEllipsis func for templates, which is a merge of gocode and inlineCodeEllipsis, allowing to display Go code with ellipsis.

posener commented 6 months ago

Thank you!