mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 19:04:37 +00:00
docs: simplify MCP section with clear stance and minimal example
- State upfront: pi does not support MCP - Provide minimal working example (README + bash script) - Show simple usage pattern - Remove verbose explanations fix(tui): don't show duplicate URL when link text equals href
This commit is contained in:
parent
fda04484b9
commit
60e4fcf012
2 changed files with 38 additions and 24 deletions
|
|
@ -307,7 +307,12 @@ export class Markdown implements Component {
|
|||
|
||||
case "link": {
|
||||
const linkText = this.renderInlineTokens(token.tokens || []);
|
||||
result += chalk.underline.blue(linkText) + chalk.gray(` (${token.href})`);
|
||||
// If link text matches href, only show the link once
|
||||
if (linkText === token.href) {
|
||||
result += chalk.underline.blue(linkText);
|
||||
} else {
|
||||
result += chalk.underline.blue(linkText) + chalk.gray(` (${token.href})`);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue