HandyOrg / HandyOrg/HandyControl

求助!使用HandyControl时,渲染markdown文本出现了预览框和预览滑块

Open
#1,708 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
7.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

使用HandyControl时,渲染markdown文本出现了预览框和预览滑块,不符合预期,markdown文本使用markdig:MarkdownViewer渲染
Image

wpf的默认是这样的
Image

怎么处理

Steps to reproduce the bug

1、使用HandyControl全局定义
2、 <markdig:MarkdownViewer
BorderThickness="0"
Background="Transparent"
VerticalAlignment="Center"
Grid.Row="1"/>

Expected behavior

No response

Screenshots

No response

NuGet package version

None

IDE

No response

Framework type

No response

Windows version

No response

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided markdig:MarkdownViewer reproduction and the HandyControl global definitions, then compare the rendered result with the shown WPF default. Determine which HandyControl styling causes the preview frame and scrollbar, and consider the issue done when the Markdown viewer matches the expected default appearance without them.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.