I'm trying to use a webfont for the docz instance we have but not able to find any documentation as how to achieve this. Is it supported? if so, any documentation you can point me to? if not, would that be a feature request?
Thanks! 馃憤
For sure @ahgharian, you can add some tags on <head> by adding a htmlContext property on your doczrc.js, like that:
// doczrc.js
export default {
htmlContext: {
head: {
links: [{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=Roboto'
}]
}
},
}
Then you're able to use your font however your want :v:
oh, awesome. I was missing it then. Appreciate the help.
Most helpful comment
For sure @ahgharian, you can add some tags on
<head>by adding ahtmlContextproperty on yourdoczrc.js, like that:Then you're able to use your font however your want :v: