I am not able to enable HTML macros
Asked by Bhakti Honmute:

Unable to get an option confluence HTML Macros in manage app. Also how can i get to know which version and hosting type i am using.


Answers:
author: Nic Brough -Adaptavist-
body: You should not be doing this with html, it breaks because Confluence is not built to do it that way. Use the attachment display macro instead.


author: Bhakti Honmute
body: Thanks.

I used following tag with correct path which is publicly accessible -

\<img width="20" height="20" src="\\\\x.x.x.x\\Bulk-Export\\Images\\acCAM.png"\>

still the image is breaking on page. Kindly check.


author: Nic Brough -Adaptavist-
body: Right, so that app displays things in a different way to core Confluence. That's fine, but all I can tell you about it is that you need to change your data so that it is valid for Confluence.

There's no magic "fix data that is wrong" here, you're going to need to look at each image and link that is not working and change it to a working one.


author: Bhakti Honmute
body: i am using trial version of Custom HTML CSS javascript add on, whcih they provide me -

![add on.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/121447i1DF2760B8FCD720F/image-size/large?v=v2&px=999 "add on.PNG")

kindly suggest on images and links are not working with above add on/macros


author: Nic Brough -Adaptavist-
body: You have not said what "add on app" you are using, and how you import images is entirely up to whatever method you have chosen to do the importing with. I can't help you with stuff you haven't told us about.


author: Bhakti Honmute
body: Is there way where i can copy bulk of images though Custom HTML CSS \& Javascript


author: Bhakti Honmute
body: Thanks for reply.

After importing the web content through custom HTML CSS and javascript, the images \& links are not working after the changing the path also.

Looking for more info in detail on images and links formatting.

If you can provide demo/guide on custom HTMl CSS and javascript app on how to use/create the layout that would be easier to take decision on purchasing the add on app.


author: Nic Brough -Adaptavist-
body: Confluence is not an html storage and display engine, it's a wiki. You'll be able to import content page by page, but it's going to come out as raw html if you just import it flat.

You'll need to throw away your html, and go back to the actual content. Import that, and then change the look and feel of Confluence so it matches what you are trying to achieve.


author: Bhakti Honmute
body: Thanks for your quick reply.

My actual requirement is , I have already created my all pages in MADCAP flare authoring tool. The output of the file is online HTML (webpages). Now I want to migrate my all existing written pages to confluence cloud version without changing any page style. In my pages the CSS (stylesheet, HTML), images, etc, are included. How can I migrate those pages to confluence.

Please help me on my above requirement.


author: Nic Brough -Adaptavist-
body: The html macros have nothing to do with importing pages.

See <https://support.atlassian.com/confluence-cloud/docs/import-content-into-confluence-cloud/> for your import options.


author: Bhakti Honmute
body: Yes, that's right. Then how do I enable HTML macros for importing **.htm** bulk of pages. How can i do for this without changing any text style, image properties.


author: Nic Brough -Adaptavist-
body: For now, there's a really simple test for finding out if you're on server or cloud. Look at the url you are on. If it is \<something\>.atlassian.net, you are on Cloud. Any other domain, it's Server or DC.

My guess is that you are on Cloud where there are no html macros.