Using Markdown in Notification Templates

You may want to provide static values for every Fomo notification.  

Unless you're using the API, including these values was a tricky, manual process. Until now. :)

By using a simple but powerful text formatting library called Markdown, you can pre-populate future Events (notifications) with data, before they even exist.

In sum, Fomo's Markdown integration allows you to embed links, bullet points, bolded values, etc, with just a couple special characters on the Template creation form.

Here are a few ways to use Markdown for your Fomo Templates.

Example: Point all users to my Pricing page.

If you connect Fomo with our Stripe integration to showcase recent purchases, you may want users who click those notifications to visit your pricing page, ie, yourwebsite.com/pricing.

Since Stripe doesn't provide this data to Fomo, you can use Markdown to configure it inside your Template.

Here we've added a link to our pricing page, using Markdown's [text](url) strategy:

Now, whenever new Fomo notifications are created by Stripe, they look like this:

Clicking 'Learn More' directs the user to www.usefomo.com/pricing, even though that link was not given by Stripe directly.

Example: Bold specific words to emphasize a call-to-action.

Links aren't the only thing that deserve an extra oomph of styling.

Using Markdown, you can wrap any word or words in double '**' marks (asterisk) to make it bold.

 

This will create a notification that looks like the following:


Example: Underlining or italicizing text.

It's easy to style each part of your notification message, using the _underline_ or *italicize* syntax.

Notice we used an underscore before 'signed', and then again after 'petition,' to underline the entire phrase in between.

Summary

It's incredibly important to the Fomo team that you can style notifications to fit your brand, voice, and personality.

We hope that the Markdown feature supports the subtle but important cosmetic attributes that make you, you.