Skip to content

Tips and Tricks

Adam Pritchard edited this page May 31, 2013 · 20 revisions

Please add any tips and tricks that you come up with. For now it'll be a flat list and we'll add structure as needed.

Pasting from Clipboard (without tears)

If text is pasted from the clipboard with formatting intact, it can negatively impact the rendering of Markdown (i.e., it can make it super messed up). When pasting into an email that you plan on rendering with Markdown Here, you should try to paste as plain text.

Windows

  • Chrome: Context menu: "Paste as plain text". Hotkey: Ctrl+Shift+V.
  • Firefox: There doesn't seem to be a menu item. Hotkey: Ctrl+Shift+V.
  • Thunderbird, Postbox: Edit menu and context menu: "Paste Without Formatting". Hotkey: Ctrl+Shift+V.

Mac OS X

  • Chrome: Edit menu and context menu: "Paste and Match Style". Hotkey: ⇧⌘V (Shift+Command+V).
  • Firefox: There doesn't seem to be a menu item. Hotkey: ⇧⌘V (Shift+Command+V).
  • Thunderbird, Postbox: Edit menu and context menu: "Paste Without Formatting". Hotkey: ⇧⌘V (Shift+Command+V).

Linux

...

Changing the Main Font (and other overall styles)

In the "Primary Styling CSS" section of the Markdown Here options page, there is a rule for .markdown-here-wrapper (that's empty by default). This rule should be used for styles that you want applied to your entire email (overridden by other styles, of course).

So, if you wanted Verdana as your default font, you could set this:

.markdown-here-wrapper {
  font-family: Verdana, sans-serif;
}

main font example

Salutation Styling

If you want to style the salutation of your email differently from the rest of the email, you can add a CSS rule that applies to the very first paragraph like so:

.markdown-here-wrapper:first-of-type > p:first-of-type {
  color: red;
}
Clone this wiki locally