The code above creates a paragraph with an image. The paragraph has the same basic set-up as a quiz or assignment. It has an options and location section, as well as an image section.
<p>Publishing discussions have the same basic set-up as quizzes and assignments. The image below shows the options and locations.</p>
<p><img src="https://lmc.instructure.com/courses/3575823/files/246921133/preview" alt="An image showing how to publish a discussion" /></p>