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

Preview and published views differ #45

Closed
teffland opened this issue Sep 30, 2015 · 2 comments
Closed

Preview and published views differ #45

teffland opened this issue Sep 30, 2015 · 2 comments
Labels

Comments

@teffland
Copy link

When using the tool, I noticed that nested lists look correct in preview, but not in the final published view.

EG,

  1. This
    • That
  2. Another this

Will publicly render as:

  1. This
  2. That
  3. Another this
@gouthambs gouthambs added the bug label Oct 2, 2015
@gouthambs
Copy link
Owner

@teffland

Please refer to this discussion on nested list in Markdown. If you create your nested list with 4-spaces, then the render works as expected.

Just to give you some background on whats happening here: The preview is handled by javascript side. That is a different markdown renderer. When you submit the post, then the markdown rendering is coming from the python Markdown renderer. This is more flexible, and generally works well things like Latex.

You can just indent with 4 spaces for nested list and things should work. But I will keep this open for now to hear your thoughts.

@teffland
Copy link
Author

teffland commented Oct 2, 2015

@gouthambs

Ah, I see. Great to know. 4 indents is perfectly fine for me -- seems like a fair tradeoff.

@teffland teffland closed this as completed Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants