Related documentation
Cards
Cards use a similar syntax to Collections and allow you to embed styled elements directly in a Markdown file: pullquote ↓, post link ↓, aside ↓, product link ↓.
To make things a bit easier, each card type has it’s own defaults. The card defaults can be edited in Admin/Settings.
Use the CARD ▼ button in The Editor to add a card without writing the block by hand. Choose a card type and its fields appear — fill in the ones you want (blanks are left out) and it drops the finished card block at your cursor. It won’t insert until the required fields are filled, helps avoid broken cards. For post-link and product-link cards, the post/product field is a search box: start typing, pick the item, and the card pulls in its title, image, and other details automatically; shown as the placeholders which can be overwritten.
Pull quote
Markdown supports block quotes but not pull quotes. The Pullquote Card allows you to add them easily.
Options
| Option | Required | Description |
|---|---|---|
type |
Yes | Must be pullquote
|
text |
Yes | The quote content |
attribution |
No | Who said it — displays with em-dash |
position |
No |
center (default), left, or right - you can set the default in Settings → Defaults → cards.yml |
To connect a pullquote to a particular paragraph, put it directly above that paragraph with no line between them.
Examples
```card
type: pullquote
text: There's only one way to find out…
```
↑ This code will look like this ↓ :
There’s only one way to find out…
You can also add attribution if this quote is from someone specific:
```card
type: pullquote
text: There's only one way to find out…
attribution: great philosopher
```
↑ Above looks like this ↓ :
There’s only one way to find out…
— great philosopherposition
(default: center)
You can also use position parameter: left, right. This allows the pullquote to be amoung the text and have the text flow around it. Like this: (try resizing the window to see how it flows.)
You wait and see, Mr. Caruthers, I will be mayor and I’ll be the most powerful mayor in the history of Hill Valley, and I’m gonna clean up this town. There’s that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth’s gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o.
Your not gonna be picking a fight, Dad, dad dad daddy-o.
You’re coming to a rescue, right? Okay, let’s go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c’mon, c’mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
↑ To achieve that, you just have to give the Pullquote a position of right and put the Pullquote directly above the paragraph you want the Pullquote to interact with, like so ↓ :
```card
type: pullquote
text: Your not gonna be picking a fight, Dad, dad dad daddy-o.
position: right
```
You wait and see, Mr. Caruthers, I will be mayor and I'll be the most powerful mayor in the history of Hill Valley, and I'm gonna clean up this town. There's that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth's gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You're coming to a rescue, right? Okay, let's go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c'mon, c'mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
The system automatically finds a reasonable place for the pullquote but if you want to control exactly where it is in the paragraph, you can indicate this with 2 pipes like so: || and that will indicate where the break for the pullquote goes. Like so ↓ :
```card
type: pullquote
text: Your not gonna be picking a fight, Dad, dad dad daddy-o.
position: right
```
You wait and see, Mr. Caruthers, I will be mayor and I'll be the most powerful mayor in the history of Hill Valley, and I'm gonna clean up this town. || There's that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth's gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You're coming to a rescue, right? Okay, let's go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c'mon, c'mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
↑ And that looks like this ↓ :
You wait and see, Mr. Caruthers, I will be mayor and I’ll be the most powerful mayor in the history of Hill Valley, and I’m gonna clean up this town.
Your not gonna be picking a fight, Dad, dad dad daddy-o.
There’s that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth’s gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You’re coming to a rescue, right? Okay, let’s go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c’mon, c’mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
Post Link
Post links are a great way to link to other posts in your site with support for thumbnails. The syntax is easy and automatically imports the necessary info and image.
Options
Most of these are not required. You can just use: type:, post:, these are here if you want to customize. As long as you add a post: option, it will pull all the info from the post. But you can override that if you like.
| Option | Required | Description |
|---|---|---|
type |
Yes | Must be post-link
|
post |
Yes | Reference a post by its url_name — auto-populates all fields |
style |
No |
small (default), medium, or large
|
title |
No | Override or provide custom title |
subtitle |
No | Override subtitle (medium/large only) |
excerpt |
No | Override excerpt (medium/large only) |
image |
No | Override image path, or set to none to hide image |
author |
No | Override author — falls back to site author |
date |
No | Override date |
url |
No | Custom URL if not using post reference |
link_text |
No | Custom call-to-action text — defaults to “Read more →” |
Examples
```card
type: post-link
style: small
post: collection-full
```
↑ That code will produce this ↓ :

Collection Full
The full size collection with everything, image, subtitle perhaps even an excerpt.
Read more →And you can change the size (small/medium/large)
```card
type: post-link
style: medium
post: collection-full
```
↑ That code will produce this ↓ :

Collection Full
The full size collection with everything, image, subtitle perhaps even an excerpt.
Read more →This simple syntax will pull all the information from the Post itself. You can also override this fully if you want. Just add the fields you’d like to replace ↓ :
```card
type: post-link
post: collection-full
style: large
title: Collection Full
author: Benjamin Welch, Esq.
date: 1983-06-15
excerpt: Example of full collection
link_text: Read more…
```
↑ Above will look like this ↓ :
Collection Full
The full size collection with everything, image, subtitle perhaps even an excerpt.

Example of full collection
Read more…Note: when you add style: small, style: mediuam or style: large this adds a CSS class to the element so that you can style it however you like. You could use style: featured if you like and use CSS to style the post-link-featured card.
Aside
Asides allow you to add notes “next to” the content of the text. The syntax is similar to other cards. You can create an Aside with: just text, image, both. You can also add links
Options
You’re only required to set: type: and then add image, text and links as needed. You can use: image, text, or both and add a link.
| Option | Required | Description |
|---|---|---|
type |
Yes | Must be aside
|
text |
No | Body text |
image |
No | Path to image — displays above text |
link |
No | URL to link to |
link_text |
No | Custom link text — if omitted, shows arrow appended to text |
Just Text (example)
Note: the aside will be next to the paragraph immediately below it:
```card
type: aside
text: I'll never let him forget it. And if I did, what would that make me?
```
You wait and see, Mr. Caruthers, I will be mayor and I'll be the most powerful mayor in the history of Hill Valley, and I'm gonna clean up this town. There's that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth's gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You're coming to a rescue, right? Okay, let's go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c'mon, c'mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
↑ This code looks like this ↓ :
You wait and see, Mr. Caruthers, I will be mayor and I’ll be the most powerful mayor in the history of Hill Valley, and I’m gonna clean up this town. There’s that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth’s gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You’re coming to a rescue, right? Okay, let’s go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c’mon, c’mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
↑ Try different browser widths to see how it interacts
Just Image (example)
```card
type: aside
image: /media/images/old_plane.jpg
```
You wait and see, Mr. Caruthers, I will be mayor and I'll be the most powerful mayor in the history of Hill Valley, and I'm gonna clean up this town. There's that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth's gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You're coming to a rescue, right? Okay, let's go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c'mon, c'mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
↑ This code looks like this ↓ :
You wait and see, Mr. Caruthers, I will be mayor and I’ll be the most powerful mayor in the history of Hill Valley, and I’m gonna clean up this town. There’s that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth’s gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You’re coming to a rescue, right? Okay, let’s go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c’mon, c’mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
Image + Text (example)
You can use both image and text like so ↓ :
```card
type: aside
text: I'll never let him forget it. And if I did, what would that make me?
image: /media/images/old_plane.jpg
```
You wait and see, Mr. Caruthers, I will be mayor and I'll be the most powerful mayor in the history of Hill Valley, and I'm gonna clean up this town. There's that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth's gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You're coming to a rescue, right? Okay, let's go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c'mon, c'mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
↑ This code looks like this ↓ :
You wait and see, Mr. Caruthers, I will be mayor and I’ll be the most powerful mayor in the history of Hill Valley, and I’m gonna clean up this town. There’s that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth’s gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You’re coming to a rescue, right? Okay, let’s go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c’mon, c’mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
Asides can use links (example)
To add a link to an Aside, just do this ↓ :
```card
type: aside
text: I'll never let him forget it. And if I did, what would that make me?
link: https://en.wikipedia.org/wiki/Back_to_the_Future
link_text: Quoted from →
```
↑ This code looks like this ↓ :
You wait and see, Mr. Caruthers, I will be mayor and I’ll be the most powerful mayor in the history of Hill Valley, and I’m gonna clean up this town. There’s that word again, heavy. Why are things so heavy in the future. Is there a problem with the Earth’s gravitational pull? Your not gonna be picking a fight, Dad, dad dad daddy-o. You’re coming to a rescue, right? Okay, let’s go over the plan again. 8:55, where are you gonna be. Wow, ah Red, you look great. Everything looks great. 1:24, I still got time. Oh my god. No, no not again, c’mon, c’mon. Hey. Libyans. It works, ha ha ha ha, it works. I finally invent something that works.
Product Link
Store only: Product Link cards need the Store feature turned on. If you haven’t enabled it yet, go to Admin → Settings and click Enable Store — until then, product-link won’t show up in the CARD ▼ menu.
A Product Link works just like a Post Link, but points at a product in your store. Add a product and the card pulls in its title, price, image, and description automatically — you only fill in what you want to override.
Options
| Option | Required | Description |
|---|---|---|
type |
Yes | Must be product-link
|
product |
Yes | Reference a product by its url_name — auto-populates all fields |
style |
No |
small (default), medium, or large
|
title |
No | Override the title pulled from the product |
description |
No | Override the description pulled from the product |
show_description |
No |
true/false — show the product’s description (on by default) |
url |
No | Override the link target (defaults to the product’s page) |
link_text |
No | Custom call-to-action — defaults to “View product →” |
image |
No | Override the product image, or set to none to hide it |
Example
```card
type: product-link
product: blue-tshirt
style: medium
```
↑ That pulls the Blue T-shirt’s title, price, image, and description into a medium card. Like Post Links, add any field above to override what’s pulled in.