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

Add padding to Syntax #2240

Closed
willmcgugan opened this issue May 1, 2022 · 1 comment · Fixed by #2247
Closed

Add padding to Syntax #2240

willmcgugan opened this issue May 1, 2022 · 1 comment · Fixed by #2247
Assignees
Labels
accepted Task was accepted

Comments

@willmcgugan
Copy link
Collaborator

We often want to add padding around Syntax. This can be done with Padding but it would be better if Syntax itself supported padding so we could use the theme colors.

The Syntax object should grow a padding argument on the constructor.

@github-actions
Copy link

github-actions bot commented May 3, 2022

Did I solve your problem?

Why not buy the devs a coffee to say thanks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Task was accepted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants