Generating banners to include in source code

Bonjour,

There are cute banners to separate sections of code in the Gitea sources, such as this one:

They can be generated as follows:

$ sudo apt-get install figlet xclip
$ git clone https://github.com/xero/figlet-fonts
$ figlet -f $(pwd)/figlet-fonts/Graffiti -w 300 ForeignReference | sed  -e's+^+// +' - | xclip -sel clip -in

This information should be added somewhere near the code formatting recommendations in the documentation.

Enjoy!

1 Like

fixed that.