Skip to main content
InterviewHubPRO
Section Overview
Q21

Question 21 of 50

Part 2: Core Architecture & Implementation (Mid-Level)

42%
Astro Islands & SSR (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)

MDX in Astro: Embedding Interactive Components in Markdown.

senior LevelCode ExampleComponentsSystem DesignAstro

In Simple Words: Using @astrojs/mdx, content creators can write Markdown combined with interactive framework components:

mdx
# Launch Announcement

Welcome to our new platform! Here is an interactive pricing calculator:

import PricingCalculator from '../components/PricingCalculator.jsx';

<PricingCalculator client:visible />