https://github.com/jingshing/markdown_sample
A sample for markdown writing.
https://github.com/jingshing/markdown_sample
markdown sample sample-code
Last synced: 29 days ago
JSON representation
A sample for markdown writing.
- Host: GitHub
- URL: https://github.com/jingshing/markdown_sample
- Owner: JingShing
- License: bsd-3-clause
- Created: 2023-04-18T09:21:28.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T15:48:31.000Z (about 2 years ago)
- Last Synced: 2025-01-17T10:27:49.536Z (over 1 year ago)
- Topics: markdown, sample, sample-code
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
English | [繁體中文](README_TCH.md)
# Markdown_sample
A sample for markdown writing.
This originally is for my frient to learn how to write markdown. But unfortunately he is gone.
## Titles
```
# Title
## 2nd Title
### 3rd Title
```
# Title
## 2nd Title
### 3rd Title
## list
```
* List
* item1
* item2
```
* List
* item1
* item2
## Links
```
[My Website](https://jingshing.com/)
```
[My Website](https://jingshing.com/)
## Image
```

```

## Description
```
> description
```
> description
## code box
```
‵‵‵c
#include
// codes
‵‵‵
```
```c
#include
// codes
```
## tasks
```
- [ ] task
- [X] complete task
```
- [ ] task
- [X] complete task
## Diff
```
‵‵‵diff
+ increase
- decrease
‵‵‵
```
```diff
+ increase
- decrease
```
## Mermaid graph
> Example will display below, you can find detailed syntax online
```
‵‵‵mermaid
graph LR
A[Write Code] --> B{Does it work?}
B -- Yes --> C[Great!]
B -- No --> D[Google]
D --> A
‵‵‵
```
```mermaid
graph LR
A[Write Code] --> B{Does it work?}
B -- Yes --> C[Great!]
B -- No --> D[Google]
D --> A
```