AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] mermaid syntax does not display properly

Đang mở
#1,121 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dart
Star
684
Fork
329
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Bug Description

mermaid syntax does not display properly
Below is the sample text

### How to Reproduce

According to the system thinking method, I will disassemble the problem structure from multiple dimensions, analyze the characteristics of the elements, and provide a systematic solution:

---
### **Problem structure decomposition**

1. **Core concept layer**

- Pale blue dot (Earth's cosmic position)

- Philosophy of science (the impact of cosmic perspective on human cognition)

2. **Content expression layer**

- Text logic (there is a semantic break in the original text)

- Accuracy of key data (such as the vague expression of the number of galaxies)

3. **Emotional transmission layer**

- The sense of awe caused by the scale of the universe

- Reflection on the meaning of human existence

4. **Communication effect layer**

- The universal value of Carl Sagan's views

- The resonance intensity of popular science texts

---
### **Key element analysis**

| Element name | Characteristics | Advantages/limitations |

|-----------------|-------------------------------|------------------------------|

| Pale blue dot image | Visualized cosmic perspective | Concrete philosophical proposition, but data support is needed |
| 4 billion stars | Sense of scale | The actual number should be 100 billion stars in the Milky Way |
| "Dust" metaphor | Strengthening human sense of insignificance | Oversimplifying the hierarchical structure of galaxies |
| Science-Humanities Link | Cosmology reflects existentialism | Logical ruptures in the original text weaken the appeal |

---
### **Systematic problem diagnosis**
```mermaid
graph LR
A[Text expression defect] --> B(Wrong expression of the number of galaxies)
A --> C(Semantic rupture destroys immersion)
D[Lack of thought depth] --> E(Failure to extend Sagan's anti-narrowism claim)
F[Communication efficiency bottleneck] --> G(Lack of contemporary reality relevance)
```

---
### **Systematic solution**
1. **Concept calibration plan**
- Correct astronomical data: The Milky Way has about 200-400 billion stars → The earth is "a speck of dust in a galaxy of 200 billion stars"
- Supplementary galaxy level: The observable universe contains 2 trillion galaxies (ESA data in 2025)

2. **Logical reconstruction plan**
```markdown
New structural chain:
1. Blue dots taken by space probes → 2. Data on the proportion of total cosmic matter → 3. Sagan's original quote:
"Our pretentious arrogance is particularly ridiculous in the universe"
```

3. **Philosophy deepening plan**
- Add three-dimensional dialectical relationship:
| Cosmic scale | Human response |
|----------------|-----------------------|
| Physical insignificance | Uniqueness of civilization (life, consciousness) |
| Short time | Breakthrough in cognition |

4. **Communication enhancement design**
- **Current connection points**:
* Climate crisis (the sense of community of destiny for all mankind living in the blue dot)
* Progress in deep space exploration (2025 Europa life detection mission)
- **Multimedia transformation suggestions**:
Make a blue dot size comparison interactive model (Earth-Solar System-Milky Way-Virgo Supercluster)

---
### **Feasibility Execution Path**
```mermaid
gantt
title Popular Science Content Optimization Gantt Chart
section Basic Correction
Astronomical Data Verification: a1, 2024-06-13, 1d
Sagan Original Works Proofreading: a2, after a1, 2d
section In-depth Construction
Philosophical Framework Construction: b1, 2024-06-15, 3d
Reality Relationship Sorting: b2, after b1, 2d
section Communication Upgrade
Multimedia Script: c1, 2024-06-20, 4d
User Resonance Test: c2, after c1, 3d
```

**Value of system thinking**: Through the paradoxical connection between the cosmic perspective (grand) and individual existence (subtle), scientific and humanistic qualities are cultivated in cognitive impact - when humans truly understand the essence of "dust on the blue dot", they can transcend nihilism and sublimate into a profound sense of responsibility for the survival of civilization.

### Expected Behavior

Mind should be displayed normally

### Operating System

ios/android

### AppFlowy Editor Version(s)

5.2.0

### Screenshots

The following is the content displayed using Typora
Image

Image
The following is what is displayed using appflowy-editor

![Image](https://github.com/user-attachments/assets/97351d74-2d97-43b8-8313-922f4bea7c95)

### Additional Context

_No response_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.