Open ggrossetie opened 9 years ago
Maybe stylesdir
will do the trick... I will give it a try
That may work for now, but we should have a more semantic way of doing this. I like assetsdir
. This is fairly similar to this issue: https://github.com/asciidoctor/asciidoctor/issues/659
This complements a discussion I had with Andres at JavaLand about having a mediadir that is the root of media elements and then having specific types, like images, use a relative path from there. That would allow images, videos and audio to be in different folders, same as icons are now (except icons are assumed to be under images, which may not be what we want). Clearly, we need to design the behavior that is ideal and work to integrate it into core (maybe for 1.6.0?)
When using extension(.js) in the chrome extension, assets are stored within the extension package and the URL is
chrome-extension://<EXTENSION_ID>/
.I think it would be nice to have a standard way to overload assets path.