Forum:Knowledge Bank
title: Reworded MDX Example description: An example MDX file that has been reworded.
Reworded MDX Example
This is an example of how to reword an MDX file while keeping the meaning the same. We'll demonstrate how to alter the sentences significantly, but without changing their core message.
Code Blocks
Here's an example of a code block:
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet("World"));
The code block above displays a simple JavaScript function. This function takes a name as input and returns a greeting.
Images

The image shown above is an example image. It serves as a placeholder in this reworded MDX document.
Links
Here's a link to Google. You can click on it to visit the Google website.
Lists
Here's an example of an unordered list:
- Item 1
- Item 2
- Item 3
And here's an example of an ordered list:
- First item
- Second item
- Third item
The lists shown above are examples of different list types. They demonstrate how to format lists in MDX.
```mdx
---
title: Modified MDX Sample
description: A sample MDX file, rewritten to showcase rephrasing.
---
# Modified MDX Sample
This serves as a demonstration of rephrasing an MDX file, ensuring the original intent is preserved. Our focus is on substantially altering the sentence structure while maintaining the exact same underlying meaning.
## Code Snippets
Consider this code snippet as an illustration:
```javascript
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet("World"));
The code presented above showcases a basic JavaScript function's functionality. Specifically, this function accepts a name and generates a personalized greeting as its output.
Visuals

The visual element displayed here represents a sample image. Within this modified MDX document, it functions as a temporary stand-in.
Hyperlinks
Here is a hyperlink that directs to Google. By selecting this link, you will be redirected to the Google webpage.
Enumerations
Let's examine an example of an unordered enumeration:
- Item 1
- Item 2
- Item 3
And now, observe an example of an ordered enumeration:
- First item
- Second item
- Third item
The enumerations presented here exemplify various types of lists. They illustrate the proper formatting of lists when using MDX.