[PR #6374] [CLOSED] feat: support for markdown rendering in the cli - wip #37965

Closed
opened 2026-04-22 22:37:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6374
Author: @ukd1
Created: 8/15/2024
Status: Closed

Base: mainHead: markdown-cli


📝 Commits (1)

  • 7d2114d Hacky support for markdown rendering in the cli

📊 Changes

3 files changed (+112 additions, -63 deletions)

View changed files

📝 cmd/cmd.go (+33 -40)
📝 go.mod (+22 -8)
📝 go.sum (+57 -15)

📄 Description

This is a work in progress/hack, and breaks wordwrap, and doesn't render multi-line things at all - e.g. tables.

If there is interest in this, I'd be happy to finish it / make it work properly. Thoughts?

This is what it looks like today:
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/6374 **Author:** [@ukd1](https://github.com/ukd1) **Created:** 8/15/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `markdown-cli` --- ### 📝 Commits (1) - [`7d2114d`](https://github.com/ollama/ollama/commit/7d2114de2b97283ac0507b1fd55df4724e53a0b6) Hacky support for markdown rendering in the cli ### 📊 Changes **3 files changed** (+112 additions, -63 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+33 -40) 📝 `go.mod` (+22 -8) 📝 `go.sum` (+57 -15) </details> ### 📄 Description This is a work in progress/hack, and breaks wordwrap, and doesn't render multi-line things at all - e.g. tables. If there is interest in this, I'd be happy to finish it / make it work properly. Thoughts? This is what it looks like today: <img width="661" alt="image" src="https://github.com/user-attachments/assets/143c7e49-fd67-4603-b9f5-7c642fc578c7"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 22:37:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#37965