Search

Markdown Examples

Here's some example content, written in markdown.

Paragraphs & Headers

I'm a test paragraph, please ignore me. Nunc congue lacus vitae metus vehicula, et viverra ex pharetra. Pellentesque vehicula nisi neque, et tincidunt urna ultricies non.

Second Level Header

Nulla facilisi. Phasellus lobortis, risus ac fringilla tincidunt, mi neque consequat lectus, in semper sem tellus ut ante.

Third Level Header

Mauris pulvinar massa nec lacus vestibulum, sed molestie leo tincidunt. Aliquam bibendum sem mauris, vitae elementum ipsum condimentum sit amet.

Fourth Level Header

Maecenas nec sem sit amet diam sollicitudin placerat lobortis vel libero.

Tables

Foo Bar Baz Qux
Alpha Delta 1 ✅️
Bravo Echo 2 ❌️
Charlie Foxtrot 3 ✅️

Code Highlighting

PHP

class DeepThought {
    public function calculateAnswer(string $question): mixed
    {
        return match ($question) {
            case 'What is the answer to life, the universe and everything?' => 42,
            case 'Where do you want for lunch?' => "I don't know, what do you want?",
            case 'Are we there yet?' => 'No.',
            default => throw new UnknownQuestionException
        }
    }    
}

JavaScript

function isPoetic(poem) {
    if (poem.authoredByVogon) {
        return false; // Vogon poetry is never poetic
    }

    return true;
};

Python

class Marvin:
    def __init__(self):
        self.mood = "depressed"

    def predict_odds(self):
        return "Probability of success: 0.00000000042%. We might as well give up."

Lists

Ordered

  1. Step one...
  2. Step two...
  3. Step three...

Unordered

  • Foo
  • Bar
  • Baz

Checklist

  • Milk
  • Eggs
  • Bread

Alerts

Note

Useful information that users should know, even when skimming content.

Tip

Helpful advice for doing things better or more easily.

Important

Key information users need to know to achieve their goal.

Warning

Urgent info that needs immediate user attention to avoid problems.

Caution

Advises about risks or negative outcomes of certain actions.

This is a test of a multi-paragraph alert.

Loading
No results found
to select
Esc to close