Greetings fellow Atlassians, i wanted to ask you whether (and if yes how?) it is possible to link attached files of a confluence page as source for the style / script for my HTML-Script inside of a HTML Macro.
Thank you for your help.
Hi @Jo Ro ,
If I understood well you have a CSS and JS files attached to a Confluence page and you'd like to use them in your HTML macro. If this is the case, maybe you can add in the macro:
<link rel="styleshhet" href="/your_site_name/download/attachments/page_id/your_styles.css">
<script src="/your_site_name/download/attachments/page_id/your_scripts.js"></script>
Hope it helps.
Vitor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normally not. What are you getting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There was a problem with the spaces in the pages title, but i was able to resolve that problem by substituting them with "+".
Sry for the late answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.