diff --git a/_includes/values/description.html b/_includes/values/description.html
index a3e5f802e..2a88b699f 100644
--- a/_includes/values/description.html
+++ b/_includes/values/description.html
@@ -1,5 +1,7 @@
{%
- if page.type == 'article'
+ if page.intro
+%}{{ page.intro | markdownify | strip_html }}{%
+ elsif page.type == 'article'
%}A comprehensive cheatsheet for {{ page.title }}.{%
endif
%}
diff --git a/jest.md b/jest.md
index 1674d5e28..696c4a8fa 100644
--- a/jest.md
+++ b/jest.md
@@ -4,6 +4,8 @@ category: JavaScript libraries
layout: 2017/sheet
updated: 2017-09-01
weight: -3
+intro: |
+ A quick overview to [Jest](https://facebook.github.io/jest/), a test framework for Node.js. This guide targets Jest v20.
---
Testing
@@ -328,8 +330,9 @@ See: [.mock property](http://facebook.github.io/jest/docs/en/mock-functions.html
const fn = jest.fn(() => 'hello')
```
+#### or:
+
```js
-// or:
jest.fn().mockReturnValue('hello')
jest.fn().mockReturnValueOnce('hello')
```
@@ -351,6 +354,5 @@ fn() // → 2
## References
{: .-one-column}
-- Based on Jest v20.
-
{: .-also-see}