-
Notifications
You must be signed in to change notification settings - Fork 31
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
Make it possible to Indent Code Blocks #11
Comments
There's no way currently. I'll take this question as a request for addition. |
If you are looking for someone to take this on, I may be willing to provide dev support. I was wanting this feature the other day for a personal project of mine. |
@Canop tested and it looks good! ✅ |
Thanks. I'll merge it, then. The fact the wrapping functions takes the skin as parameter will enable a few other changes. |
This lets you define left and right margins for paragraphs, code blocks, tables, etc. Those margins don't apply in table cells, and are completely omitted when they would reduce the available width below 3. The indented-code example shows how to use the left margin to "indent" code blocks. Fix #11
Available in 0.27.0 |
Is there a way to indent code blocks? I see that you can set the alignment to left, center, or right, but can I add four spaces indent to a left-aligned code block?
The text was updated successfully, but these errors were encountered: