Skip to content

Customizable indent size#118

Merged
ekalinin merged 2 commits intoekalinin:masterfrom
Barthelemy:variable-indent
Mar 26, 2022
Merged

Customizable indent size#118
ekalinin merged 2 commits intoekalinin:masterfrom
Barthelemy:variable-indent

Conversation

@Barthelemy
Copy link
Copy Markdown
Contributor

Rationale: indentation of sub-levels in bullet lists is 2 spaces according to github documentation, 4 spaces is very common though, 3 is less common. All are accepted by GitHub but other tools are not that flexible, typically mkdocs.

I propose to make the size of the indentation customizable, with a default at 3 to be backward compatible. The extra parameter is --indent.

Thank you for considering this addition and to comment on the naming of the parameter and the actual implementation.

`--indent X` lets the user set the number of spaces to be added for the indentation.
@ekalinin ekalinin merged commit 239f540 into ekalinin:master Mar 26, 2022
@ekalinin
Copy link
Copy Markdown
Owner

Thanks!

ekalinin added a commit that referenced this pull request Mar 26, 2022
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