Pubblica semplicemente un link a un GitHub Gist e sarà ben integrato. Oppure utilizza il formato fornito da questo frammento e crea tu stesso lo shortcode. Per il tuo file functions.php:
Uno qualsiasi di questi formati funzionerà:
- https://gist.github.com/1147076
- https://gist.github.com/1147076#file_annotated.js
- https://gist.github.com/1147076.js?file=annotated.js
- (gist id = 1147076)
- (gist id = 1147076 file = annotated.js)