Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Support Markdown text rendering during conversation.#39

Merged
Richasy merged 9 commits intomainfrom
richasy/markdown
Jun 17, 2023
Merged

Support Markdown text rendering during conversation.#39
Richasy merged 9 commits intomainfrom
richasy/markdown

Conversation

@Richasy
Copy link
Owner

@Richasy Richasy commented Jun 17, 2023

Close #28

I have used a new Markdown text display control. Currently, it is a new control that combines Markdig and CommunityToolkit's MarkdownTextBlock, which theoretically has better parsing capabilities.

PR type

What is the purpose of this PR?

  • Feature

What is the current behavior?

The current conversation content is displayed as plain text without any formatting, which may make it less readable.

What is the new behavior?

Since GPT defaults to organizing formatted content in Markdown, we can assume that Markdown is the default language for transmitting content in GPT. Therefore, a new control is created to enable native rendering using WinUI platform controls.

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • New components
    • For controls, the controls have been placed in the Controls folder of the main project
  • File headers have been added to all source files
  • NOT Contains breaking updates

Remark

I haven't used MarkdownTextBlock in workflows or similar scenarios, where I believe precise text output is more important.

@Richasy Richasy added the enhancement New feature or request label Jun 17, 2023
@Richasy Richasy merged commit 5c5f98c into main Jun 17, 2023
@Richasy Richasy deleted the richasy/markdown branch June 17, 2023 08:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

1 participant