<!DOCTYPE html>
<html>
    <head>
        <style>
        blockquote {
            background-color: #808080;
            margin: 5 5 20 5;
            padding: 10px;
        }
        </style>
    </head>
    <body>
        <p>
            {{ owner.name }} has shared a note with you, what follows are their formatted notes.
            {% if isRegistered %}
            You can see shared notes <a href='{{ domain }}/shared-notes'>here</a>.
            {% else %}
            You can register for an account <a href='{{ domain }}/register'>here</a>, or just review the notes below
            {% endif %}
        </p>
        <h1>{{ note.title }}</h1>
        <blockquote>
        <strong>Passage:</strong> {{ note.passage }}<br/>
        <strong>Date:</strong> {{ note.date | date("F j Y") }}<br/>
        <strong>Speaker:</strong> {{ note.speaker.name }}<br/>
        <strong>Series:</strong> {{ note.series.name }}<br/>
        </blockquote>

        {{ formattedText | raw }}
    </body>
</html>