Skip to content

Commit

Permalink
Set tab_length to 2 for sane list formatting
Browse files Browse the repository at this point in the history
Allows to create nested lists by two spaces.

- item
  - subitem
  - subitem2
- item2

Python-Markdown/markdown#3 (comment)
  • Loading branch information
danihodovic committed Oct 7, 2019
1 parent 621bb24 commit 172b35e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wagtailmarkdown/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def _get_markdown_kwargs():
]
}
markdown_kwargs['output_format'] = 'html5'
markdown_kwargs['tab_length'] = 2
return markdown_kwargs


Expand Down

0 comments on commit 172b35e

Please sign in to comment.