FHIR Chat · Use of standard icons · IG creation

Stream: IG creation

Topic: Use of standard icons


view this post on Zulip Frank Oemig (May 19 2020 at 10:55):

How to use standard icons, eg. icon-resource.PNG, without getting an error in MD files?

view this post on Zulip Grahame Grieve (May 19 2020 at 11:34):

what error are you getting?

view this post on Zulip Frank Oemig (May 19 2020 at 13:46):

Without having these files in images it says internal error in location for message, image source ... cannot be resolved.

view this post on Zulip Frank Oemig (May 19 2020 at 13:48):

If I copy the files to images, it claims that the file is being generated more than once.

view this post on Zulip Grahame Grieve (May 19 2020 at 19:13):

just so I'm sure, how are you including the image in the markdown?

view this post on Zulip Frank Oemig (May 20 2020 at 12:56):

I use the MD syntax to include images like in the example. As image filename I use the icon names, eg. icon-resource.PNG.
One problem is with case sensitivity in Windows which took several trials.

view this post on Zulip Frank Oemig (May 20 2020 at 12:59):

If I use my own images, everything is fine. If I reuse images inserted by the publisher, the error pops up.

view this post on Zulip Grahame Grieve (May 20 2020 at 20:35):

so you have something like ![resource](icon-resource.png)?

case sensitivity is enforced everywhere I can in the IG publisher, but I don't get a look at everything

view this post on Zulip Frank Oemig (May 21 2020 at 08:56):

Correct. Due to case sensitivity it must be 'PNG'.
So, if I use that, it tells me that the file is missing. If I copy it to images it is duplicate. So publisher is not aware of the images that are provided by the tool itself.
The other problem is with rendering because a br-html-element must be added afterwards. So the templates and css performs specific computation that needs adjustments. I would like to do that but do not know where to look best?

view this post on Zulip Grahame Grieve (May 21 2020 at 10:47):

due to case sensitivity it must not be PNG

view this post on Zulip Grahame Grieve (May 21 2020 at 10:48):

other problem is with rendering because a br-html-element must be added afterwards

I don't know what that means

view this post on Zulip Grahame Grieve (May 21 2020 at 10:52):

this works for - renders correctly, no errors in the qa.html:

view this post on Zulip Grahame Grieve (May 21 2020 at 10:53):

https://raw.githubusercontent.com/FHIR/sample-ig/master/input/pagecontent/spec.md

view this post on Zulip Grahame Grieve (May 21 2020 at 10:53):

see output in

view this post on Zulip Grahame Grieve (May 21 2020 at 10:54):

https://build.fhir.org/ig/FHIR/sample-ig/spec.html


Last updated: Apr 12 2022 at 19:14 UTC