Skip to content

provide app with the lib for testing and reading#424

Open
john-peterson wants to merge 1 commit intocharmbracelet:masterfrom
john-peterson:app
Open

provide app with the lib for testing and reading#424
john-peterson wants to merge 1 commit intocharmbracelet:masterfrom
john-peterson:app

Conversation

@john-peterson
Copy link

instantly test your changes !

go run glamour/main.go examples/artichokes/*md

or use as stand alone file reader

go install github.com/charmbracelet/glamour/glamour@master
glamour test.md

instantly test your changes !

go run glamour/main.go examples/artichokes/*md

or use as stand alone file reader

go install github.com/charmbracelet/glamour/glamour@master
glamour test.md
Copy link
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @john-peterson, thanks for opening this PR.

We already have a standalone product to render markdown files, Glow. It's even possible to change Glamour changes with it, you just need a replace directive on your go.mod (although I know it's less convenient).

What about moving this file into examples/filesystem/main.go? It'd allow you to test Glamour code changes as well, but that means we won't promise stability on this binary.

Also, can you fix all lint issues?

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.

2 participants