diff --git a/README.zh.md b/README.zh.md
index 396399f..b34e01b 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -29,7 +29,7 @@ Retypeset 是一款基于 [Astro](https://astro.build/) 框架的静态博客主
## 特征
- 基于 Astro 与 UnoCSS 开发
-- 支持 SEO、 Sitemap、 OpenGraph、 TOC、 RSS、 MDX 和 LaTeX
+- 支持 SEO、Sitemap、OpenGraph、TOC、RSS、MDX 和 LaTeX
- i18n 多语言
- 亮色/暗色模式
- 优雅的过渡动画
diff --git a/src/components/PostList.astro b/src/components/PostList.astro
index c0350e6..13530e8 100644
--- a/src/components/PostList.astro
+++ b/src/components/PostList.astro
@@ -6,8 +6,8 @@ import { generateDescription } from '@/utils/description'
import { isTagPage } from '@/utils/page'
type Post = CollectionEntry<'posts'> & {
- remarkPluginFrontmatter?: {
- minutes?: number
+ remarkPluginFrontmatter: {
+ minutes: number
}
}
@@ -52,7 +52,7 @@ function getPostPath(post: Post) {
>
@@ -64,7 +64,7 @@ function getPostPath(post: Post) {
>
diff --git a/src/config.ts b/src/config.ts
index 7d648a7..09158a4 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -8,7 +8,7 @@ export const themeConfig: ThemeConfig = {
// site subtitle
subtitle: 'Revive the beauty of typography',
// site description
- description: 'Retypeset is a static blog theme based on the Astro framework, inspired by Typography. Retypeset establishes a new visual standard and reimagines the layout of all pages, offering a reading experience similar to paper books, reviving the beauty of typography. Details in every sight, elegance in every space.',
+ description: 'Retypeset is a static blog theme based on the Astro framework. Inspired by Typography, Retypeset establishes a new visual standard and reimagines the layout of all pages, creating a reading experience reminiscent of paper books, reviving the beauty of typography. Details in every sight, elegance in every space.',
// use i18n title/subtitle/description from src/i18n/ui.ts instead of static ones above
i18nTitle: true, // true, false
// author name
@@ -37,7 +37,7 @@ export const themeConfig: ThemeConfig = {
background: 'oklch(96% 0.005 298)',
// code block theme
// available themes: https://shiki.style/themes
- codeTheme: 'github-light',
+ codeTheme: 'one-light ',
},
dark: {
// primary color
@@ -51,7 +51,7 @@ export const themeConfig: ThemeConfig = {
background: 'oklch(22% 0.005 298)',
// code block theme
// available themes: https://shiki.style/themes
- codeTheme: 'github-dark',
+ codeTheme: 'one-dark-pro',
},
},
// COLOR SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
diff --git a/src/content/posts/Markdown Style Guide-en.md b/src/content/posts/Markdown Style Guide-en.md
index a52d7a5..773dd4e 100644
--- a/src/content/posts/Markdown Style Guide-en.md
+++ b/src/content/posts/Markdown Style Guide-en.md
@@ -8,78 +8,210 @@ pin: 1
abbrlink: markdown-style-guide
---
-FROM https://github.com/saicaca/fuwari
+Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.
-## GitHub Repository Cards
-You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API.
+## Headings
-::github{repo="Fabrizz/MMM-OnSpotify"}
+The following HTML `
`—`` elements represent six levels of section headings. `` is the highest section level while `` is the lowest.
-Create a GitHub repository card with the code `::github{repo="/"}`.
+# H1
+
+## H2
+
+### H3
+
+#### H4
+
+##### H5
+
+###### H6
+
+## Paragraph
+
+Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
+
+Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
+
+## Images
+
+### Syntax
```markdown
-::github{repo="saicaca/fuwari"}
+
```
-## Admonitions
+### Output
-Following types of admonitions are supported: `note` `tip` `important` `warning` `caution`
+
-:::note
-Highlights information that users should take into account, even when skimming.
-:::
+## Blockquotes
-:::tip
-Optional information to help a user be more successful.
-:::
+The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
-:::important
-Crucial information necessary for users to succeed.
-:::
+### Blockquote without attribution
-:::warning
-Critical content demanding immediate user attention due to potential risks.
-:::
-
-:::caution
-Negative potential consequences of an action.
-:::
-
-### Basic Syntax
+#### Syntax
```markdown
-:::note
-Highlights information that users should take into account, even when skimming.
-:::
-
-:::tip
-Optional information to help a user be more successful.
-:::
+> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
+> **Note** that you can use _Markdown syntax_ within a blockquote.
```
-### Custom Titles
+#### Output
-The title of the admonition can be customized.
+> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
+> **Note** that you can use _Markdown syntax_ within a blockquote.
-:::note[MY CUSTOM TITLE]
-This is a note with a custom title.
-:::
+### Blockquote with attribution
+
+#### Syntax
```markdown
-:::note[MY CUSTOM TITLE]
-This is a note with a custom title.
-:::
+> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1]
```
-### GitHub Syntax
+#### Output
-> [!TIP]
-> [The GitHub syntax](https://github.com/orgs/community/discussions/16925) is also supported.
+> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1]
+[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
+
+## Tables
+
+### Syntax
+
+```markdown
+| Italics | Bold | Code |
+| --------- | -------- | ------ |
+| _italics_ | **bold** | `code` |
```
-> [!NOTE]
-> The GitHub syntax is also supported.
-> [!TIP]
-> The GitHub syntax is also supported.
+### Output
+
+| Italics | Bold | Code |
+| --------- | -------- | ------ |
+| _italics_ | **bold** | `code` |
+
+## Code Blocks
+
+### Syntax
+
+we can use 3 backticks ``` in new line and write snippet and close with 3 backticks on new line and to highlight language specific syntax, write one word of language name after first 3 backticks, for eg. html, javascript, css, markdown, typescript, txt, bash
+
+````markdown
+```html
+
+
+
+
+ Example HTML5 Document
+
+
+ Test
+
+
```
+````
+
+### Output
+
+```html
+
+
+
+
+ Example HTML5 Document
+
+
+ Test
+
+
+```
+
+## List Types
+
+### Ordered List
+
+#### Syntax
+
+```markdown
+1. First item
+2. Second item
+3. Third item
+```
+
+#### Output
+
+1. First item
+2. Second item
+3. Third item
+
+### Unordered List
+
+#### Syntax
+
+```markdown
+- List item
+- Another item
+- And another item
+```
+
+#### Output
+
+- List item
+- Another item
+- And another item
+
+### Nested list
+
+#### Syntax
+
+```markdown
+- Fruit
+ - Apple
+ - Orange
+ - Banana
+- Dairy
+ - Milk
+ - Cheese
+```
+
+#### Output
+
+- Fruit
+ - Apple
+ - Orange
+ - Banana
+- Dairy
+ - Milk
+ - Cheese
+
+## Other Elements — abbr, sub, sup, kbd, mark
+
+### Syntax
+
+```markdown
+GIF is a bitmap image format.
+
+H2O
+
+Xn + Yn = Zn
+
+Press CTRL + ALT + Delete to end the session.
+
+Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.
+```
+
+### Output
+
+GIF is a bitmap image format.
+
+H2O
+
+Xn + Yn = Zn
+
+Press CTRL + ALT + Delete to end the session.
+
+Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.
diff --git a/src/layouts/Head.astro b/src/layouts/Head.astro
index 09095f1..df7a313 100644
--- a/src/layouts/Head.astro
+++ b/src/layouts/Head.astro
@@ -142,10 +142,15 @@ window
{googleAnalyticsID && (
<>
-
-