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
Unify posts & markdown rendering on desktop and mobile #5466
Comments
We should simply use the same method to parse markdown in both mobile and desktop views. |
I don't know if that's feasible. Desktop is rendered by JS while mobile gets rendered on the server. I think we could instead have a formal test-suite of "our" markdown behaviour and let both renderers run against it to make sure they produce the same output. |
Let's revisit this after #5457 is resolved. |
I really think we can greatly speed up by deactivating useless JS animation, e.g : the sliding to display the menu. Also, there are some thing that currently need connexion on mobile, e.g display the comment area when clincking on the button "comment". It fails when there's no connexion and eventually dispays the area several times. Numerous things can be improved on mobile version. |
The transition is done in pure CSS and is rendered by the GPU (at least with a gecko based rendered engine). There is almost no JS in the mobile view. I agree that a lot of things can be improved, and maybe speed is one, but it is not that bad. |
Nope, not that bad, but just many many little ugly bugs everywhere. :/ |
@Raven24 Maybe I could look at the JavaScript, run some tests, and see if there's any way to optimize it for mobile? Just a thought. |
I still think rendering on the server side for mobile is a good strategy, to be honest |
@Raven24 I'm curious why you think so. |
Hi, I found a problem with my post today, which seems pretty related to this issue: I have a literal I thought it could be a escaping problem, but the |
Mobile version and desktop version doesn't have the same rendering of posts and comments.
Till then the following differences have been detected :
a double-space plus a return provoque a simple return on desktop and a line break on mobile,Replace pagedown by markdown-it #5526seems like<del>
tag arn't rendered on mobile and are rendered as text<del>
tag aren't rendered at all with Replace pagedown by markdown-it #5526. Related to [Markdown] Bad parsing of <, > and & in code #5569w**or**rd
(see here for an example):The text was updated successfully, but these errors were encountered: