Getting Started
Heading 1
Heading 2
Heading 3
Heading 4
Bold Text
Italic Text
Strikethrough Text
- Unordered List Item 1
- Unordered List Item 2
- Nested Unordered List Item 1
- Nested Unordered List Item 2
- Ordered List Item 1
- Ordered List Item 2
- Nested Ordered List Item 1
- Nested Ordered List Item 2
Testing Inline code snippet
like this.
// Code block console.log('Hello, World!')
Code Sample
import { setRequestLocale } from 'next-intl/server' import DefaultHeader from './DefaultHeader' import DefaultFooter from './DefaultFooter' type Props = { children: React.ReactNode params: { locale: string } } export default async function DefaultLayout({ children, params: { locale }, }: Props) { setRequestLocale(locale) return ( <> <div className="flex flex-col"> <DefaultHeader /> <main className="min-h-screen">{children}</main> <DefaultFooter /> </div> </> ) }