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

<br> elements showing up in lists #19

Open
gunthercox opened this issue Jun 8, 2016 · 2 comments
Open

<br> elements showing up in lists #19

gunthercox opened this issue Jun 8, 2016 · 2 comments

Comments

@gunthercox
Copy link

When the break-on-newline setting is set to True, line breaks are inserted into lists.

settings.py

MARKDOWN_DEUX_STYLES = {
    "default": {
        "extras": {
            "break-on-newline": True,
        }
    }
}

For example, when this setting is enabled a markdown list with nested list items renders like this:
image

To me, it would make sense if the line breaks were not rendered within list element so that the appearence would look more like this:
image

Would you consider this a bug?

@oskarko
Copy link

oskarko commented Dec 5, 2016

did you resolve this? I have the same issue

@gunthercox
Copy link
Author

Hi @oskarko, I resolved this by not using the django-markdown-deux package. Sadly it does not appear to be actively maintained. I'd recommend taking a look at one of the core markdown packages for Python such as https://pypi.python.org/pypi/Markdown as an alternative.

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