Chirpy写作
Chirpy写作
搭建
安装
将MSYS2
目录添加到环境变量中
1
2
ridk
ridk enable
检查
1
2
ruby -v
gem -v
安装jekyll
1
2
gem install jekyll bundler
jekyll -v
安装依赖的theme模板库,在项目目录运行 bundle
使用:
构建 jekyll build
或 jekyll b
本地部署 jekyll serve
或 jekyll s
写作
blockquote
查理芒格 2017
关于地狱
很多东西更重要,不要浪费在根本不存在的东西上。
欺骗、狂妄、病态的利己主义、满腹怨恨、极端自怜、受害妄想症,这些都阻止成功。你们要找到所有这些阻碍成功的东西,将它们当作瘟疫,绕道而走。
God grant me the serenity to accept the things I can not change,
请赐我平静的心,去接受我无法改变的事;
courage to change the things I can,
赐我勇气,去改变我能够改变的事;
And the wisdom to know the difference.
并赐我智慧,去分辨这两者的不同。
代码
1
echo lambda
1
delta
公式
\[\lambda \delta\] \[\Lambda \Delta\]mermaid
demo
graph TD;
A[Start] --> B[Decision];
B -->|Yes| C[Do Task];
B -->|No| D[End];
Flowchart
graph LR;
A[User logs in] --> B{Valid credentials?};
B -->|Yes| C[Grant access];
B -->|No| D[Show error];
C --> E[Load dashboard];
Sequence Diagram
sequenceDiagram
participant User
participant System
User->>System: Login request
System-->>User: Authenticate
System->>Database: Verify credentials
Database-->>System: Credentials valid
System-->>User: Access granted
Class Diagram
classDiagram
Animal <|-- Dog
Animal <|-- Cat
Animal : +String name
Animal : +int age
Animal : +makeSound()
Dog : +fetch()
Cat : +scratch()
Gantt Chart
gantt
title Project Timeline
dateFormat YYYY-MM-DD
section Phase 1
Task A :a1, 2023-10-01, 5d
Task B :after a1, 3d
section Phase 2
Task C :2023-10-10, 4d
Customizing Appearance
graph TD;
A[Start] --> B[Process];
B --> C[End];
style A fill:#f96,stroke:#333,stroke-width:2px;
style C fill:#bbf,stroke:#333,stroke-width:2px;
本文由作者按照 CC BY 4.0 进行授权