Skip to content

Conversation

@Abhijay007
Copy link
Collaborator

@Abhijay007 Abhijay007 commented Aug 20, 2025

Closes: #2278

Description:

This PR enhances the markdown rendering capabilities in the goose desktop application by adding support for single line breaks.

Changes Made :

  • Added remark-breaks package to project dependencies
  • Updated MarkdownContent.tsx to include the new plugin
  • Added unit test for the functionality

Preview:

Before After
Preserve-single-newlines-before Preserve-single-newlines-after

@michaelneale michaelneale self-assigned this Aug 20, 2025
@michaelneale
Copy link
Collaborator

looks ok - need to manually just desk check it but hopefully build passes. The plugin remark-breaks looks like slightly old code, in terms of commits, but I think it is minimal and ok

@jamadeo jamadeo merged commit 80ce454 into block:main Aug 20, 2025
10 checks passed
@jamadeo
Copy link
Collaborator

jamadeo commented Aug 20, 2025

Thank you for the contribution @Abhijay007 !

@alexhancock
Copy link
Collaborator

Yes, it works well for me. We appreciate it!

@Abhijay007
Copy link
Collaborator Author

Thanks @jamadeo, @michaelneale and @alexhancock for review and guidance :)

ayax79 pushed a commit to ayax79/goose that referenced this pull request Aug 21, 2025
michaelneale added a commit that referenced this pull request Aug 21, 2025
* main:
  docs: add figma tutorial (#4231)
  Add Nix flake for reproducible builds (#4213)
  Enhanced onboarding page visual design (#4156)
  feat: adds mtls to all providers (#2794) (#2799)
  Don't show a confirm dialog for quitting (#4225)
  Fix: Missing smart_approve in CLI /mode help text and error message (#4132)
  Clean up langfuse docs and scripts (#4220)
  feat: add remark-breaks plugin to preserve single newlines in markdown (#4217)
  feat(mcp/developer): accept -1 for insert_line number (#4112)
  Remove dead code and old settings migration (#4180)
  removed tests from lint-staged (#4203)
  docs: openrouter and ollama easy desktop setup (#4195)
  Custom providers update (#4099)
  docs: goose_terminal env var (#4205)
  Desktop alerts when suspicious unicode characters found in Recipe (#4080)
  chore: remove the google drive built-in extension (#4187)
  Move out app init (#4185)
@alexhancock alexhancock mentioned this pull request Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve single newlines in messages sent with UI

4 participants