Skip to content

provide app with the lib for testing and reading #424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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