See github.com/QCodefag/QCodefag.github.io/blob/master/data/legend.js, which is out of date, but shows the principle.
A higher level view of the source code is at github.com/QCodefag/QCodefag.github.io
qcodefag has a few projects at github - I'm not certain that this is EXACTLY what is being used, but if not, it is pretty close.
I understand. Q is not embedding the names for those initials. That is happening when the posts hit github