What happened
Describe the problem clearly.
Rapid development for desktop has broken some of the underlying logic as designed for resolve, where the ipynb fiel format was really the primary file format.
Currentlly If I open, then leave a comment on a markdown file (.md), the comment is rendered (in the .md) as a HTML span. So if you preview it on gihub, the amrkdown looks fine (because the span is ignoted by GitHub online markdown renderer) but it is in the file. So this file: https://github.com/MichelNivard/markymcmarkface/blob/main/markdown.md
if downloaded contains the following line:
lets do some <span data-comment-id="comment-1773593655505" data-username="Michel Nivard" data-avatar-url="https://avatars.githubusercontent.com/u/11858442?v=4" data-text="hello?" data-timestamp="2026-03-15T16:54:15.505Z" data-resolved="false">writing here. LETS GO!!!</span>
Now the good news is that if opened in QuartoViewer this renders as a comment, and on github the HTML is invisible but in other markdown editors you just see soem HTML in your .md, which may not be desireable.
The issue arise from the fact that the original resolve would basically keep qmd/md files in an .ipynb file ( a json file basially, but a fully antive and valid way to keep a .qmd file), where al the tiptap specific meta data (tiptap beign the WYSIWYG rendering engine) could be kept in a meta-data entries in the file that didnt "break" the .ipynb if it was opened in another viewer/tool (it would sort of just exist)
We could (this is probably most elegant) adjust the way we render out to a new .md, and use critic markup: https://fletcher.github.io/MultiMarkdown-6/syntax/critic.html
which uses this for a comment:
This is a test{>>What is it a test of?<<}.
and this as a track change for example:
This is {--is --}a test.
Those would at least be readable/understandable to ppl wanting to edit the markdown outside QuartoReview. The meta data now captured int he span would be lost, meaning that if you then pull it back into QuartoReview you'd lose the meta data (who made the comment, etc).
Alternatively we move away from offerinf comments/track changes in the .md file and keep those in a secondary file that travels with the .md on GitHub, r we move away form offerign comments/track changes altogether? or we move every file to ipynb.
This is all in github mode, in local mode comments are fully broken now.
I dont think we can jsut let a codign agent plow through this issue it reuires soem design choices.
What did you expect
Describe what you expected to happen.
Steps to reproduce
Version
Which QuartoReview version are you using?
0.0.10
Platform
- OS: macOS
- Local file mode or GitHub mode: Github
- Source / Preview / Diff / Editor mode:
Optional screenshots or logs
Add a screenshot or paste any error message if helpful.
What happened
Describe the problem clearly.
Rapid development for desktop has broken some of the underlying logic as designed for resolve, where the
ipynbfiel format was really the primary file format.Currentlly If I open, then leave a comment on a markdown file (.md), the comment is rendered (in the .md) as a HTML span. So if you preview it on gihub, the amrkdown looks fine (because the span is ignoted by GitHub online markdown renderer) but it is in the file. So this file: https://github.com/MichelNivard/markymcmarkface/blob/main/markdown.md
if downloaded contains the following line:
lets do some <span data-comment-id="comment-1773593655505" data-username="Michel Nivard" data-avatar-url="https://avatars.githubusercontent.com/u/11858442?v=4" data-text="hello?" data-timestamp="2026-03-15T16:54:15.505Z" data-resolved="false">writing here. LETS GO!!!</span>Now the good news is that if opened in QuartoViewer this renders as a comment, and on github the HTML is invisible but in other markdown editors you just see soem HTML in your .md, which may not be desireable.
The issue arise from the fact that the original resolve would basically keep qmd/md files in an
.ipynbfile ( a json file basially, but a fully antive and valid way to keep a .qmd file), where al the tiptap specific meta data (tiptap beign the WYSIWYG rendering engine) could be kept in a meta-data entries in the file that didnt "break" the .ipynb if it was opened in another viewer/tool (it would sort of just exist)We could (this is probably most elegant) adjust the way we render out to a new .md, and use critic markup: https://fletcher.github.io/MultiMarkdown-6/syntax/critic.html
which uses this for a comment:
This is a test{>>What is it a test of?<<}.and this as a track change for example:
This is {--is --}a test.
Those would at least be readable/understandable to ppl wanting to edit the markdown outside QuartoReview. The meta data now captured int he span would be lost, meaning that if you then pull it back into QuartoReview you'd lose the meta data (who made the comment, etc).
Alternatively we move away from offerinf comments/track changes in the .md file and keep those in a secondary file that travels with the .md on GitHub, r we move away form offerign comments/track changes altogether? or we move every file to ipynb.
This is all in github mode, in local mode comments are fully broken now.
I dont think we can jsut let a codign agent plow through this issue it reuires soem design choices.
What did you expect
Describe what you expected to happen.
Steps to reproduce
Version
Which QuartoReview version are you using?
0.0.10
Platform
Optional screenshots or logs
Add a screenshot or paste any error message if helpful.