Introduction
Welcome to Nextra! This is a basic docs template. You can use it as a starting point for your own project :)
What is Nextra?
A simple, powerful and flexible site generation framework with everything you love from Next.js.
Documentation
The documentation is available at https://nextra.site (opens in a new tab).
Installation Guide
👾
Space Invaders is a 1978 shoot 'em up arcade game developed by Tomohiro Nishikado.
Explanation
- Headings: Use
#,##,###, etc., to create headings for each step. - Code Blocks: Use triple backticks (```) for code blocks to show CSS and JavaScript snippets.
- Ordered Lists: Use numbers followed by a dot (e.g.,
1.) to create ordered steps. - Unordered Lists: Use dashes (
-) or asterisks (*) for unordered lists or bullet points.
Implementation
- Create a Markdown File: Create a new
.mdor.mdxfile in your Nextra project, e.g.,customize-dark-theme.md. - Add Content: Copy and paste the above Markdown content into your file.
- Update Nextra Configuration: Ensure your
nextra.config.jsor similar configuration file includes this new page in the navigation.
// Example nextra.config.js
module.exports = {
themeConfig: {
nav: [
{ title: 'Home', link: '/' },
{ title: 'Customize Dark Theme', link: '/customize-dark-theme' },
],
sidebar: {
'/': [
{ title: 'Introduction', link: '/' },
{ title: 'Customize Dark Theme', link: '/customize-dark-theme' },
],
},
},
};