makecindy / makecindy/cindy

优化 Markdown 渲染的视觉排版效果(代码块、表格、标题、其他语法)

Open
#823 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
2.7k
Forks
401
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 用户0405
**客户端版本**: 0.1.20

---

## 使用场景

在 Cindy 中查看包含 Markdown 的回复时,整体视觉效果有待提升,主要体现在代码块、表格、标题/段落以及其他语法元素(引用块、列表、LaTeX 公式、Mermaid 图表等)的排版风格上。

## 诉求

希望整体 Markdown 渲染看起来更精美、更符合现代阅读习惯,对齐主流 Markdown 工具(如 GitHub、Typora)的视觉水平。具体涉及:

- **代码块**:样式更精致,可读性更强(如语言标识、字体、背景色等)
- **表格**:排版更整洁,视觉层次更清晰
- **标题 / 段落**:字号层级、行间距、段间距更合理
- **其他语法**:引用块、列表、LaTeX 公式、Mermaid 图表等风格统一、整体更美观

## 建议方案

对 Markdown 渲染样式做整体视觉优化,无需改变渲染逻辑,重点提升排版美观度,使整体风格一致、精致。
---
**OS**: darwin arm64 (24.1.0)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating Cindy’s Markdown renderer and its styling entry points, then review how code blocks, tables, headings, quotes, lists, LaTeX, and Mermaid are displayed. Done means the listed elements have a consistent, more readable visual treatment without changing rendering logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.