Markdown is a popular way for styling content on the web. Developers often use markdown in their work, but anyone can use it to add style to their Letters on Metamorphic.
In this guide, you'll become familiar with the essentials in markdown styling on Metamorphic (and most anywhere), and be sending Letters with pizazz in no time!
When you want to emphasize something, simply wrap your word or phrase like below:
**bold**
*italic*
~~strikethrough~~
Headers are great for sections or chapters in your Letters. It's important to note the space after the "#" symbol:
# Large
## Medium
### Small
#### Extra small
Lists can be unordered (bulleted) or ordered (numbered). Remember, the space after the "*" symbol and "1." numbering is important:
* Unordered list item
* Unordered list item
* Unordered list item
1. Ordered list item
2. Ordered list item
3. Ordered list item
Links are a great way to share external resources through your Letters. Note our best practice of including the {:target="_blank"}{:rel="_noopener"}. This is so that links you send others will open safely in a new tab:
[Text to link](https://www.example.com){:target="_blank"}{:rel="_noopener"}
"Who said that...?" Share quotes in your Letters by following the formatting below:
> Single line quote
Single line quote
If your quote is long, then it will automatically wrap into a multi-line quote.
For this next example, I switched the display in the guide so that you can see how code is displayed (with the dark background). Using markdown for code display is a great way to share code or set something apart:
```
Set your code here.
```
Set your code here.
Using the three back ticks (`) like above also supports multi-line code display:
```elixir
def metamorphic do
:hello_world
end
```
def metamorphic do
:hello_world
end
Markdown can be a fun way to add some simple styling to your Letters. Keep in mind that only the recipient will see the styled result of your markdown formatting.
Support for live previewing of your markdown while composing a new Letter is on the drawing board, and I encourage you to vote for it on the Roadmap if it's something you'd like to have.
I hope this helps you feel more comfortable with markdown and gets you excited to explore it when writing a Letter.
🖨 Mark