Introduction
This is a test article to demonstrate various MDX components and features. We'll showcase different types of content blocks, alerts, and formatting options.
This is an informational alert box. It provides helpful information to readers.
Alert Components
Let's test different types of alert boxes:
Success! Your changes have been saved successfully. This is a success message.
Warning! Please be careful when proceeding. This action might have consequences.
Error! Something went wrong. Please try again or contact support.
Regular Content
This is regular paragraph text. It should flow naturally and be easy to read. The Kamboj community has a rich history spanning thousands of years.
Subsection with List
Here's an unordered list:
- First item in the list
- Second item with bold text
- Third item with italic text
- Fourth item with
inline code
And here's an ordered list:
- First numbered item
- Second numbered item
- Third numbered item
- Fourth numbered item
Code Examples
Here's some inline code: const greeting = "Hello World".
And here's a code block:
function greet(name) {
console.log(`Hello, ${name}!`);
return `Welcome to the Kamboj Society website`;
}
greet("User");
Blockquotes
This is a blockquote. It's used to highlight important quotes or references. It can span multiple lines and provides emphasis to the quoted content.
Links and Formatting
This is a link to the homepage. You can also use bold text, italic text, and bold italic text.
Did you know? The Kamboja kingdom was mentioned in ancient texts like the Mahabharata and various Buddhist scriptures.
Tables
| Feature | Description | Status |
|---|---|---|
| Alerts | Colorful notification boxes | Active |
| Code Blocks | Readable fenced code | Active |
| Scrollspy | Table of contents navigation | Active |
| Images | Responsive image handling | Active |
Sanskrit Shlokas
Here's an example of a Sanskrit shloka with transliteration and translation:
धर्मो रक्षति रक्षितः। तस्माद् धर्मं न हातव्यः।
Dharmo rakṣati rakṣitaḥ | Tasmād dharmaṃ na hātavyaḥ |
Dharma protects those who protect it. Therefore, dharma should never be abandoned.
- Manusmriti 8.15
You can also use multi-line shlokas:
वसुधैव कुटुम्बकम्। अयं निजः परो वेति गणना लघुचेतसाम्। उदारचरितानां तु वसुधैव कुटुम्बकम्॥
Vasudhāiva kuṭumbakam | Ayaṃ nijaḥ paro veti gaṇanā laghucetasām | Udāracaritānāṃ tu vasudhaiva kuṭumbakam ||
Only small men discriminate saying: One is a relative; the other is a stranger. For those who live magnanimously, the entire world constitutes but a family.
- Maha Upanishad 6.71-73
Another Section for Scrollspy
This section helps test the table of contents navigation on the right side.
Nested Heading Level 3
Content under a level 3 heading.
Even Deeper Level 4
Testing deeper heading levels for the scrollspy navigation.
Conclusion
Great! You've reached the end of this test article. All components are working correctly.
This article demonstrates the various MDX components and should help test the scrollspy functionality with multiple headings.
