Forum:CT:Sourcing amendment


title: Reworded MDX Example description: This is an example of reworded MDX content.

Reworded MDX Example

Let's examine a basic example of MDX and how it can be altered.

This is a standard paragraph of text. It demonstrates how regular text is displayed within an MDX document.

Here's a code block:

function greet(name) {
  return `Hello, ${name}!`;
}

console.log(greet("World"));

The code block above illustrates how code snippets can be incorporated directly into MDX documents.

The image above is inserted using a custom component.

Here is a link to Google.

This link demonstrates how to include hyperlinks in your MDX content.

Finally, here is a list:

  • Item 1
  • Item 2
  • Item 3

This list shows a simple way to format lists within MDX.


```mdx
---
title: Reworded MDX Example
description: Here's a demonstration of MDX content that has been rephrased.
---

# Reworded MDX Example

Consider a simple MDX example and the ways we can rephrase it.

This paragraph is just normal text. It shows how typical text appears inside an MDX file.

Here's some code:

```javascript
function greet(name) {
  return `Hello, ${name}!`;
}

console.log(greet("World"));

The code shown above provides an example of how you can embed code directly in MDX documents.

The image you see here is included using a custom component.

Here's a link to Google.

This link is an example of how to add hyperlinks to your MDX content.

And lastly, a list:

  • Item 1
  • Item 2
  • Item 3

This list is a basic method for formatting lists inside MDX.

Appearances

This article uses content from Wookiepedia, under CC-BY-SA 3.0.