Skip to content
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

use pygments to syntax highlight test functions preview #27

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

dtrifiro
Copy link
Owner

@dtrifiro dtrifiro commented Feb 7, 2024

This adds a pytest-fzf-preview script, which is used to print syntax-highlighted previews using pygments (which is now a dependency)

closes #21 and #24

demo

@dtrifiro dtrifiro added the enhancement New feature or request label Feb 7, 2024
@dtrifiro dtrifiro force-pushed the fancy-preview branch 3 times, most recently from dfdef0a to 5b9fd5f Compare February 7, 2024 17:17
@dtrifiro dtrifiro merged commit e5dcb5b into main Feb 7, 2024
12 checks passed
@dtrifiro dtrifiro deleted the fancy-preview branch February 8, 2024 09:21
@dtrifiro dtrifiro changed the title use pygments to colorized test functions preview use pygments to syntax highlight test functions preview Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add script to preview code without using bat
1 participant