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

Pretty-printing #27

Open
2 tasks
boisgera opened this issue Aug 27, 2021 · 1 comment
Open
2 tasks

Pretty-printing #27

boisgera opened this issue Aug 27, 2021 · 1 comment

Comments

@boisgera
Copy link
Owner

boisgera commented Aug 27, 2021

Pretty-printing of a Pandoc instance would be nice since the current output is not human-readable except for very short fragments.

@cinntamani
Copy link

Thank you for raising this issue. I feel the same need. One thought might be to make the AST nodes a subclass of list, and then use the pprint package from the standard library (https://docs.python.org/3/library/pprint.html) or the enhanced pprint++ package (https://github.com/wolever/pprintpp).

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

No branches or pull requests

2 participants