Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Comments on Problem with adding images to answer
Parent
Problem with adding images to answer
I was writing an answer, which included two images. Something seems to be broken with the markup text generated by clicking the image icon.
I clicked the icon, and entered the pathname of the image file. Some markup got inserted, as expected. However, the preview window showed the markup text, not the image.
I edited the markup to use the HTML tag <img src="URL"> instead, and it worked.
Post
Here is a example. In the preview I'm seeing the markup text instead of the picture. Now I'll post it and see what it looks like then.
![Image alt text](https://meta.codidact.com/uploads/Bz9g6CG8W9MbBg3wD5aezNVs)
After the picture.
I did some more experimenting, and if I just type and add a picture it works. I ran into this problem originally after pasting a lengthy answer I wrote off line, then trying to add two images to it.
One difference is that this answer had HTML tags, no markup.
Found what triggers it
The markup shows when there is a HTML <p> tag immediately before the image. If there is a line break after the <p> tag, then the image shows, otherwise the markup text.
1 comment thread