AnnouncementNew article: Who are Kamboj? Origins & History
Guide

Test Article: MDX Components and Features

A comprehensive test article demonstrating all MDX components including alerts, warnings, info boxes, and interactive elements.

DDeepak Kamboj
2 min read
0
Test Article: MDX Components and Features

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:

  1. First numbered item
  2. Second numbered item
  3. Third numbered item
  4. 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.

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

FeatureDescriptionStatus
AlertsColorful notification boxesActive
Code BlocksReadable fenced codeActive
ScrollspyTable of contents navigationActive
ImagesResponsive image handlingActive

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.

Share this article:

D

Deepak Kamboj started and conceptualized the powerful interactive platform - KambojSociety.com in September 2002, which today is the biggest and most popular online community portal for Kambojas in the world. He was inspired by the social and community work carried out by his father Shri Nanak Chand Kamboj.