Hello
This is a markdown page.
I can use markdown syntax here.
console.log("Hello World");
2. Create a new page in the src/pages
directoryβ
touch src/pages/helloMarkdown.md
3. Add the following content to the new pageβ
---
title: my hello page title
description: my hello page description
hide_table_of_contents: true
---
# Hello
This is a markdown page.
4. Run the projectβ
npm run start
5. Open the browser and navigate to http://localhost:3000/helloMarkdown
β
You should see the new page with the title and description you added.
6. Edit the page contentβ
You can edit the content of the page by modifying the markdown file.
7. Customize the page layoutβ
You can customize the layout of the page by modifying the src/layouts/MarkdownLayout.js
file.
8. Add images and other assetsβ
You can add images and other assets to the page by placing them in the src/assets
directory and referencing them in the markdown file.
9. Add links to other pagesβ
You can add links to other pages by using the markdown syntax for links.
10. Add code snippetsβ
You can add code snippets to the page by using the markdown syntax for code blocks.
11. Add tablesβ
You can add tables to the page by using the markdown syntax for tables.
12. Add listsβ
You can add lists to the page by using the markdown syntax for lists.