-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Markdown file can not show exactly when ``` start or end with a blank line #411
Comments
@lotus-king could you try running it through blackfriday directly and see if that works? otherwise it's an upstream bug 🙁 |
This is not resolved by #186 also. @andrew-boyarshin :) let's move it to v1.2 |
@lunny If I'm not very much mistaken I've already pointed out that this markdown file has multiple issues and blackfriday is not responsible for fixing invalid markdown. |
This issues seems to be fixed (https://try.gitea.io/ethantkoenig/sandbox/src/master/README.md). Someone please close |
see https://try.gitea.io/lotus-king/tls/src/master/openssl.md, it seems the problem is not fixed? |
@lunny As far as I can tell, that's how it should be rendered. I don't see any ``` blocks that aren't being rendered. |
It ignored " ```". |
@lunny Oh, I see |
It misses it because of invalid indentation. See https://try.gitea.io/bkc/tls/src/master/openssl.md and specifically https://try.gitea.io/bkc/tls/commit/c22378418a700bba1380581be58dc04320b29340 Closing as NotABug 🙂 |
@bkcsoft But github could render it correctly. |
@lunny GitHub is not using the same markdown renderer as we do, and in any case it's an upstream issue and not an issue with Gitea itself. And the point still stands that the example given is invalid syntax (invalid indentation) |
@bkcsoft OK. |
latest version
2.3
CentOS
[x]
):put this markdown file https://try.gitea.io/lotus-king/tls/src/master/openssl.md to gogs or gitea, will reporduce the bug.
Description
put this markdown file https://try.gitea.io/lotus-king/tls/src/master/openssl.md to gogs or gitea .
gogs or gitea cannot correctly show the markdown file, it just show the markdown source file at code (``` start or end with a blank line) ,but github can show it correctly.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: