Home



title: "Reworded MDX Example" description: "An example MDX file, completely reworded."

Let's examine an MDX file as an example.

function add(a, b) {
  return a + b;
}

The code block above shows a simple JavaScript function. It adds two numbers together.

Here's an image:

For more information, see the MDX documentation.

Finally, consider this list:

  • Item one
  • Item two
  • Item three

```mdx
---
title: "Revised MDX Instance"
description: "A sample MDX document, expressed in alternate terms."
---

Consider, if you will, a sample MDX document.

```javascript
function add(a, b) {
  return a + b;
}

Contained within the preceding block of code is a basic JavaScript routine. It performs the summation of a pair of numerical values.

Behold this visual representation:

Consult the MDX documentation for supplementary details.

To conclude, observe the subsequent enumeration:

  • Item one
  • Item two
  • Item three

Appearances