I am trying to include some fonts from plugin assets to a plugin custom block, but I am having problems doing so.
It is pretty easy for JS files with
js('/media/plugins/superwoman/superplugin/js/app.min.js'), but what is the suggested solution for other file types?
Is there any better solution (a relative path preferably) than
<?= $kirby->root('plugins') . '/myplugin/assets/fonts/font.ttf' ?> to get file URL?