Skip to content

AnganSamadder/opencode-glow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencode-glow

OpenCode plugin that tidies chat display output while preserving code blocks.

What it does

  • Trims trailing whitespace from lines
  • Normalizes multiple blank lines to max 2
  • Adds spacing before list items for better readability
  • Preserves fenced code blocks (including ```diff) untouched

Install

bun add opencode-glow

Configure

Add to ~/.config/opencode/opencode.json:

{
  "plugin": [
    "opencode-glow"
  ]
}

Code Blocks

All fenced code blocks are passed through unchanged. The transform only applies to prose sections.

License

MIT

About

OpenCode plugin that tidies chat display output while preserving code blocks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors