Kathryn Grayson Nanz b872dbe384
Add new front matter element: excerpt (#227)
* This commit adds the excerpt front matter element, to show an
abbreviated version of the definition in social previews. This
also includes the documentation updates to support this change.

* This commit adds @olvb's suggestion to use 'set' to define the
alert & preview combo, to avoid repetitive code

* This commit updates the preview text to only include the flag if
it's "avoid" – if the flag is "warning" or there is no flag, it
will not appear at the beginning of the preview text.

Co-authored-by: Kathryn Grayson Nanz <kathryn@Kathryns-MacBook-Air.local>
Co-authored-by: Oscar <ovlb@users.noreply.github.com>
Co-authored-by: Kathryn <>
2020-08-24 19:41:45 +02:00

441 B

title parent
Basic Definition
title href
Examples /documentation/examples

This example is the very basic variant. It is not very involved, but gets its job done.

---
title: Example Word
slug: 'example-word'
speech: noun
defined: true
excerpt: This is a definition.
---

This is a sentence. It describes a word. This definition is written in Markdown. So you can do stuff. [Including links](/link), for example.