docs: update example posts
This commit is contained in:
parent
39797fd677
commit
47c65cd551
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Simple Guides for Fuwari
|
title: Simple Guides for Fuwari
|
||||||
published: 2023-09-01
|
published: 2024-04-01
|
||||||
description: "How to use this blog template."
|
description: "How to use this blog template."
|
||||||
image: "./cover.jpeg"
|
image: "./cover.jpeg"
|
||||||
tags: ["Fuwari", "Blogging", "Customization"]
|
tags: ["Fuwari", "Blogging", "Customization"]
|
||||||
|
|
|
@ -1,39 +1,66 @@
|
||||||
---
|
---
|
||||||
title: Markdown extended features
|
title: Markdown Extended Features
|
||||||
published: 2024-05-01
|
published: 2024-05-01
|
||||||
description: 'Read more about Markdown features in Fuwari'
|
description: 'Read more about Markdown features in Fuwari'
|
||||||
image: ''
|
image: ''
|
||||||
tags: [Demo, Example, Markdown, Fuwari]
|
tags: [Demo, Example, Markdown, Fuwari]
|
||||||
category: 'Examlpes'
|
category: 'Examples'
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
## Github repository cards
|
## 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. `::github{repo="saicaca/fuwari"}`
|
You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API.
|
||||||
|
|
||||||
::github{repo="Fabrizz/MMM-OnSpotify"}
|
::github{repo="Fabrizz/MMM-OnSpotify"}
|
||||||
|
|
||||||
|
Create a GitHub repository card with the code `::github{repo="<owner>/<repo>"}`.
|
||||||
|
|
||||||
## Admonitions, notes, containers
|
```markdown
|
||||||
Fuwari supports admonitions of type: `tip, note, important, warning, caution`
|
::github{repo="saicaca/fuwari"}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Admonitions
|
||||||
|
|
||||||
|
Following types of admonitions are supported: `note` `tip` `important` `warning` `caution`
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
This is a note, other frameworks call them containers or alerts
|
Highlights information that users should take into account, even when skimming.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
:::tip{title="TIP"}
|
:::tip
|
||||||
This is a tip, you can change the title using the title property: `:::tip{title="Custom title"} \`
|
Optional information to help a user be more successful.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
:::important
|
:::important
|
||||||
Drink 8 glasses of water!
|
Crucial information necessary for users to succeed.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
:::warning
|
:::warning
|
||||||
You should star the [Fuwari repository](https://github.com/saicaca/fuwari)
|
Critical content demanding immediate user attention due to potential risks.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
:::caution
|
:::caution
|
||||||
Admonitions can have other elements inside
|
Negative potential consequences of an action.
|
||||||
::github{repo="saicaca/fuwari"}
|
:::
|
||||||
:::
|
|
||||||
|
```markdown
|
||||||
|
:::note
|
||||||
|
Highlights information that users should take into account, even when skimming.
|
||||||
|
:::
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Optional information to help a user be more successful.
|
||||||
|
:::
|
||||||
|
```
|
||||||
|
|
||||||
|
The title of the admonition can be customized.
|
||||||
|
|
||||||
|
:::note[MY CUSTOM TITLE]
|
||||||
|
This is a note with a custom title.
|
||||||
|
:::
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
:::note[MY CUSTOM TITLE]
|
||||||
|
This is a note with a custom title.
|
||||||
|
:::
|
||||||
|
```
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Include Video in the Posts
|
title: Include Video in the Posts
|
||||||
published: 2022-08-01
|
published: 2023-08-01
|
||||||
description: This post demonstrates how to include embedded video in a blog post.
|
description: This post demonstrates how to include embedded video in a blog post.
|
||||||
tags: [Example, Video]
|
tags: [Example, Video]
|
||||||
category: Examples
|
category: Examples
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# About
|
# About
|
||||||
This is the demo site for [Fuwari](https://github.com/saicaca/fuwari).
|
This is the demo site for [Fuwari](https://github.com/saicaca/fuwari).
|
||||||
|
|
||||||
|
::github{repo="saicaca/fuwari"}
|
||||||
|
|
||||||
> ### Sources of images used in this site
|
> ### Sources of images used in this site
|
||||||
> - [Unsplash](https://unsplash.com/)
|
> - [Unsplash](https://unsplash.com/)
|
||||||
> - [星と少女](https://www.pixiv.net/artworks/108916539) by [Stella](https://www.pixiv.net/users/93273965)
|
> - [星と少女](https://www.pixiv.net/artworks/108916539) by [Stella](https://www.pixiv.net/users/93273965)
|
||||||
|
|
Loading…
Reference in New Issue