--- title: "Post: Notice" categories: - Post Formats tags: - Post Formats - notice --- A notice displays information that explains nearby content. Often used to call attention to a particular detail. When using Kramdown `{: .notice}` can be added after a sentence to assign the `.notice` to the `

` element. **Changes in Service:** We just updated our privacy policy here to better service our customers. We recommend reviewing the changes. {: .notice} **Info Notice:** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--info} **Warning Notice:** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--warning} **Danger Notice:** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--danger} **Success Notice:** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--success} Want to wrap several paragraphs or other elements in a notice? Using Liquid to capture the content and then filter it with `markdownify` is a good way to go. ```html {% raw %}{% capture notice-2 %} #### New Site Features * You can now have cover images on blog pages * Drafts will now auto-save while writing {% endcapture %}{% endraw %}
{% raw %}{{ notice-2 | markdownify }}{% endraw %}
``` {% capture notice-2 %} #### New Site Features * You can now have cover images on blog pages * Drafts will now auto-save while writing {% endcapture %}
{{ notice-2 | markdownify }}
Or you could skip the capture and stick with straight HTML. ```html

Message

A basic message.

```

Message

A basic message.