Skip to content

refactor: enhance markdown rendering (fixes #171)#188

Merged
benjaminshafii merged 1 commit intodifferent-ai:devfrom
nodfans:refactor/enhance-markdown-rendering
Jan 22, 2026
Merged

refactor: enhance markdown rendering (fixes #171)#188
benjaminshafii merged 1 commit intodifferent-ai:devfrom
nodfans:refactor/enhance-markdown-rendering

Conversation

@nodfans
Copy link
Copy Markdown
Contributor

@nodfans nodfans commented Jan 22, 2026

Fixes #171

Changes:

  • Replace regex-based parsing with marked library
  • Add support for full Markdown syntax (headings, lists, tables, blockquotes)
  • Improve type safety with proper type guards
  • Add empty string optimization
  • Reuse safeStringify from utils instead of duplicating code

image

@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@benjaminshafii
Copy link
Copy Markdown
Member

hey thanks @nodfans

we did a small refactor you should merge/rebase into your branch that should fix it so your tests are passing

@nodfans nodfans force-pushed the refactor/enhance-markdown-rendering branch from 0def635 to e2f6d06 Compare January 22, 2026 05:53
@nodfans
Copy link
Copy Markdown
Contributor Author

nodfans commented Jan 22, 2026

hey thanks @nodfans

we did a small refactor you should merge/rebase into your branch that should fix it so your tests are passing

@benjaminshafii I've rebased with the latest dev branch. The changes are ready for review. Thanks! 🙏

@benjaminshafii benjaminshafii merged commit 36950c2 into different-ai:dev Jan 22, 2026
0 of 3 checks passed
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.

[Feature Request] Format markdown result for agent responses

2 participants