Stream: IG creation
Topic: Use of standard icons
Frank Oemig (May 19 2020 at 10:55):
How to use standard icons, eg. icon-resource.PNG, without getting an error in MD files?
Grahame Grieve (May 19 2020 at 11:34):
what error are you getting?
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.
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.
Grahame Grieve (May 19 2020 at 19:13):
just so I'm sure, how are you including the image in the markdown?
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.
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.
Grahame Grieve (May 20 2020 at 20:35):
so you have something like 
?
case sensitivity is enforced everywhere I can in the IG publisher, but I don't get a look at everything
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?
Grahame Grieve (May 21 2020 at 10:47):
due to case sensitivity it must not be PNG
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
Grahame Grieve (May 21 2020 at 10:52):
this works for - renders correctly, no errors in the qa.html:
Grahame Grieve (May 21 2020 at 10:53):
https://raw.githubusercontent.com/FHIR/sample-ig/master/input/pagecontent/spec.md
Grahame Grieve (May 21 2020 at 10:53):
see output in
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