Registry / cli / tj-go-termd

tj-go-termd

JSON →
library0.0.1gogounverified

A Go library for rendering Markdown in terminal with syntax highlighting for code blocks.

go get github.com/tj/go-termd
INSTALL
IMPORT
SIG · TJ-GO-TERMD
T
tj-go-termd
cligov0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

termd
github.com/tj/go-termd

Render Markdown to terminal output

package main import ( "fmt" "github.com/tj/go-termd" ) func main() { markdown := "# Hello\n```go\nfmt.Println(\"hi\")\n```" result := termd.Render(markdown) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Resources