DEV Community

Discussion on: How do you ensure consistent formatting in MS Word?

stereoplegic profile image
Mike Bybee • Edited

You can use markdown image tags inline e.g.

Lorem ipsum ![congration you done it] ( dolor sit amet.

Lorem ipsum congration you done it dolor sit amet.

You'll need to supply the correct size image or use pandoc with either markdown strict mode or disabling markdown in HTML blocks in conjunction with HTML tags with width and/or height and and/or align attributes (instead of standard markdown image syntax shown above) to truly inline images with proper size.

Thread Thread
patarapolw profile image
Pacharapol Withayasakpunt Author

So, I have to put my image online?

I know I can put image files alongside Markdown files, all locally, but folder structure might be quite... fixed.

Thread Thread
waylonwalker profile image
Waylon Walker

I see what your asking, markdown renders out to HTML. so your images have to be available to the client somehow. hosting them online is the easiest (doesn't have to be public, but has to be accessible by the client)

So yes if you reference local files like that, just like with a static website the orientation to your images must always be the same.

Thread Thread
stereoplegic profile image
Mike Bybee

You can use relative paths. To be honest, the only Word documents I've made in probably the last 2-3 years were resumes, cover letters, proposals, and agreements/contacts, so no images involved.