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
Bullet list indent requires two spaces, but appears indented with one space in Drafts #10966
Comments
Hello @zulip/server-markdown members, this issue was labeled with the "area: markdown" label, so you may want to check it out! |
I think the bug here is probably that But I also like the idea of changing the example to be more clear. |
I suppose the other reasonable approach would be to use a fixed-width font for that section of the docs, which would make the spacing obvious. |
I agree fixed width would be helpful. Though the Draft issue is also worthy of fixing, as it may be embarrassing to think your carefully crafted message looks a certain way, then after hitting send see it is not what you expect. |
@zulipbot claim |
Hello @AsociTon, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days. You can reclaim this issue or claim any other issue by commenting Thanks for your contributions, and hope to see you again soon! |
@zulipbot claim |
Hello @AsociTon, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days. You can reclaim this issue or claim any other issue by commenting Thanks for your contributions, and hope to see you again soon! |
Previously, the frontend-only javascript processor didn't show the same output as the backend, resulting in wrong output shown in drafts. Fixes zulip#10966
@timabbott should I apply the fixed-width font to that particular table only or to the whole guide? |
Previously, the frontend-only javascript processor didn't show the same output as the backend, resulting in wrong output shown in drafts. Fixes zulip#10966
Previously, the frontend-only javascript processor didn't show the same output as the backend for unordered lists, resulting in wrong output shown in drafts. Fixes zulip#10966
Previously, the frontend-only javascript processor didn't show the same output as the backend for unordered lists, resulting in wrong output shown in drafts. Fixes zulip#10966
Previously, the frontend-only javascript processor didn't show the same output as the backend for unordered lists, resulting in wrong output shown in drafts. Fixes zulip#10966
Previously, the frontend-only javascript processor didn't show the same output as the backend for unordered lists in case of odd indentation before the bullet indicator, resulting in wrong output shown in drafts. This is because their was no specific way to handle odd indentation. Fix for it was to check for odd indentation whenever bullet list is encountered and trim a space to make it even and ideal for zulip's markdown. Fixes zulip#10966
Previously, the frontend-only javascript processor didn't show the same output as the backend for unordered lists in case of odd indentation before the bullet indicator, resulting in wrong output shown in drafts. This is because their was no specific way to handle odd indentation. Fix for it was to check for odd indentation whenever bullet list is encountered and trim a space to make it even and ideal for zulip's markdown. Fixes zulip#10966
I was previewing a message in drafts with a bullet list.
In Drafts this shows
level 2
being indented. But when you send to chat, there is no indent and looks like this:I had to more carefully look at the example provided (clicking the "A" icon in chat)
to see that it uses two spaces. This results in both Drafts and the main chat showing the expected formatting.
It would also help to be provided with this example when clicking the "A" icon, as it was hard to tell that it was two spaces at first glance:
The text was updated successfully, but these errors were encountered: