Can't transform markdown ![image] references from github
Posted: Tue Jul 25, 2023 6:16 pm
Hi all -
I have a ditamap that includes references to .md files that my engineers host on their github wiki. Unfortunately, I can't transform them to pdf
because I get the following error:
Transformation failed. C:\Program Files\Oxygen XML Editor 25\frameworks\dita\DITA-OT3.x\plugins\org.dita.base\build_preprocess.xml:369: java.lang.IllegalArgumentException: URI scheme is not "file"
But if I convert the ![image] (https://github.com/..... to instead use html such as <img scope="external" src="http..... then it works...well sometimes. Github seems to play a shell game with image files on their wiki. But at least I don't get the transformation error above.
Changing all image reference to html is not a long term solution because the developers just copy/paste images into the wiki which by default uses the markdown syntax.
*. Should OxygenXML/DITA-OT be able to handle the markdown ![image](https:.... syntax? Or do I need to convert all of these to html?
Puzzle pieces:
OxygenXML 25.1, github wiki repository, markdown called from dita map
I have a ditamap that includes references to .md files that my engineers host on their github wiki. Unfortunately, I can't transform them to pdf
because I get the following error:
Transformation failed. C:\Program Files\Oxygen XML Editor 25\frameworks\dita\DITA-OT3.x\plugins\org.dita.base\build_preprocess.xml:369: java.lang.IllegalArgumentException: URI scheme is not "file"
But if I convert the ![image] (https://github.com/..... to instead use html such as <img scope="external" src="http..... then it works...well sometimes. Github seems to play a shell game with image files on their wiki. But at least I don't get the transformation error above.
Changing all image reference to html is not a long term solution because the developers just copy/paste images into the wiki which by default uses the markdown syntax.
*. Should OxygenXML/DITA-OT be able to handle the markdown ![image](https:.... syntax? Or do I need to convert all of these to html?
Puzzle pieces:
OxygenXML 25.1, github wiki repository, markdown called from dita map