English

CSS: Web­fonts in an HTML web page on lo­calhost

Posted on

I’ve have cre­a­ted a tool na­med TO­Cjs in as web­page for ge­ne­ra­ting table of con­tents by par­sing an HTML do­cu­ment user pro­vi­des. The tool was de­signed to work lo­cally hos­ted. Turns out, however, that using web­fonts in a lo­cally hos­ted page is not that strai­ght­for­ward as on a web­ser­ver.