images without width
I just purchased the MultiMarkdown Composer and have been having
some issues with using embedded images.
Its mentioned in the documentation that if no width or height is
specified then the images will default to being the width of the
text. However, this does not seem to be the case for me as they
default to being very large.
My code looks like this: var test = true;
![Position plot of a stationary tablet utilising onboard
consumer-grade GNSS sensors over a period of 30
minutes.][img:SmartPhoneGPS]
[img:SmartPhoneGPS]: images\SmartphoneGPS.png
"SmartPhoneGPS"
Am I doing something wrong?
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Fletcher on 19 Mar, 2014 11:56 AM
James,
Thanks for purchasing Composer!
The comment you mention refers to LaTeX. The width of images in HTML is
set by your CSS, otherwise HTML defaults to using the actual width of
the image.
I assume you're referring to HTML output?
Fletcher
2 Posted by James on 19 Mar, 2014 12:00 PM
Ahh okay that makes sense.
Is there a way to set the image width to the text width like with latex?
Support Staff 3 Posted by Fletcher on 19 Mar, 2014 12:07 PM
As I mentioned, you use CSS to style HTML -- images, text, colors,
whatever. You can use CSS to make images whatever size you want, e.g. a
width of 100% takes up the entire width of the container surrounding the
image.
F-
4 Posted by James on 19 Mar, 2014 12:19 PM
Thanks I'll look into that.
Cheers
Support Staff 5 Posted by Fletcher on 19 Mar, 2014 12:27 PM
PS> If you get into using custom CSS, you can use the metadata to link
to a CSS stylesheet:
http://fletcher.github.io/MultiMarkdown-4/metadata#css
or you can create a custom theme for Composer that includes your own CSS:
http://support.multimarkdown.com/kb/style-sheets/how-do-i-update-the-built-in-style-sheets
http://support.multimarkdown.com/kb/style-sheets/how-do-i-create-a-custom-style-sheet
F-