Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

I need to replace CodeBlockRenderer as AvalonEdit TextEditor #58

Closed
ebattulga opened this issue Jan 3, 2024 · 1 comment
Closed

I need to replace CodeBlockRenderer as AvalonEdit TextEditor #58

ebattulga opened this issue Jan 3, 2024 · 1 comment

Comments

@ebattulga
Copy link

How i can implement AvalonEdit TextEditor as CodeBlockRenderer? I didn't find any accessor from MarkdownViewer. please help me

@Kryptos-FR
Copy link
Owner

Editing is not something that is currently supported. The purpose of this library is to render the markdown.

PR welcome to add the feature.

My guess on how to do it is there could be flag setting somewhere and during the "rendering" phase, inject AvalonEdit instead of the current code block.

Or it could be another approach using styles and control templates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants