-
Notifications
You must be signed in to change notification settings - Fork 1
3. Create a content page
so navigate to src/content/news/
Create a new file with a .mdx extension, for example, "news_article.mdx" in src/content/news/2024/
.
Start the file by adding the header information in YAML front matter format:
---
title: 'News Example'
description: A short description the news example
img: '/images/news/2024/news_example_image.jpg'
date: '2024-01-15'
---
Below the header, you can freely compose your content.
For text formatting:
Bold Text: **Your text here**
Your text here
Italic Text: *Your text here*
Your text here
Headers: # Header 1, ## Header 2, ...
Lists: - Item 1, - Item 2, ...
- Item 1
- Item 2
Quotes: > Your quoted text
Your quoted text
For adding links:
Inline Link: [Link Text](http://yourlink.com)
Reference Link: [Link Text][1] and later in the document [1]: http://yourlink.com
[Link Text][1] and later in the document [1]: http://yourlink.com
For adding images:
Inline Image: 
To prevent images from appearing distorted, it's recommended to upload images with a 1:1 aspect ratio or with a resolution of 220x220 pixels. This ensures that all images maintain a standardized size and appearance across the organization pages.
After add or edit the file, save the changes in "commit changes":