nl_tokens: Loads a theme from either a path github path ( username / repo ) or URL
pl_tokens: function loadTheme ( source , ctx ) { var promises = [ ] ; if ( ! fs . existsSync ( source ) && source . match ( / ^[\w-]+\/[\w-]+$ / ) ) { source = 'https://raw.githubusercontent.com/' + source + '/master/' ; } if ( ! source . <mask> ( / \/$ / ) ) { source += '/' ; } promises = [ loadSettings ( source + 'settings.json' , ctx ) , populateSingle ( source + 'style.css' , ctx . external , 'style' ) , populateSingle ( source + 'template.mustache' , ctx . templates , 'slides' ) , populateSingle ( source + 'layout.mustache' , ctx . templates , 'layout' ) , populateSingle ( source + 'script.js' , ctx . external , 'script' ) ] ; return Q . all ( promises ) ; }