nimib
nimib copied to clipboard
add convenience template to add a script to head section
trafficstars
I always forget how to to do it, this works:
template nbUseJs(url: string) =
nb.partials["head"] &= '\n' & "<script src=\"" & url & "\"></script>"