Skip to content

Markdown issues with 5.0 #6005

Answered by djetelina
djetelina asked this question in Q&A
Jul 30, 2025 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Good call.

I found two breaking changes that applied to my code.

First, I was stealing the key actions, then calling them on document. In 5.0, they shouldn't be on document. Solution = rely on builtin actions for navigation, so keep the additional bindings (in my case VIM-like), but no additional functions needed.

Second, which was less obvious - previously the way to edit css of MarkdownViewer, as well as border titles and subtitles, was again through the document. This is no longer the case and classes, border_title and border_subtitle should be changed on the viewer level. For some reason when set on the document, the scrolling functions just break completely 🤷

Overall the changes are …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@djetelina
Comment options

@willmcgugan
Comment options

@djetelina
Comment options

Answer selected by djetelina
Comment options

You must be logged in to vote
2 replies
@TomJGooding
Comment options

@djetelina
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants