-
-
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
Show errors for KaTeX and mermaid on the preview tab #24009
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yardenshoham
approved these changes
Apr 8, 2023
lunny
approved these changes
Apr 9, 2023
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this pull request
Apr 9, 2023
There is a conflicting fomantic rule that hid the error messages inside the markdown preview tab for things like mermaid or katex. Overruled it to always show these errors. <img width="774" alt="image" src="https://user-images.githubusercontent.com/115237/230738528-322814c1-8994-495e-b901-bbb79b924ccb.png">
silverwind
added a commit
that referenced
this pull request
Apr 9, 2023
Backport #24009 by @silverwind There is a conflicting fomantic rule that hid the error messages inside the markdown preview tab for things like mermaid or katex. Overruled it to always show these errors. <img width="774" alt="image" src="https://user-images.githubusercontent.com/115237/230738528-322814c1-8994-495e-b901-bbb79b924ccb.png"> Co-authored-by: silverwind <[email protected]>
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Apr 10, 2023
* upstream/main: (39 commits) Fix protected branch for API (go-gitea#24013) [skip ci] Updated translations via Crowdin Fix markdownlint (go-gitea#24024) Introduce lint-md and compliance-docs pipeline (go-gitea#24021) Fix https setup doc zh-cn (go-gitea#24015) Replace tribute with text-expander-element for textarea (go-gitea#23985) Improve GetBoards and getDefaultBoard (go-gitea#22981) Expand/Collapse all changed files (go-gitea#23639) Show errors for KaTeX and mermaid on the preview tab (go-gitea#24009) Show protected branch rule names again (go-gitea#23907) Reference the `zh-CN` version of `reverse-proxies` in `https-support` (go-gitea#24016) Fix lint problem in `https-support.zh-cn.md` (go-gitea#24014) docs: HTTPS configuration for zh-cn (go-gitea#23039) Re-add initial wiki page text when editing the page (go-gitea#23984) [skip ci] Updated translations via Crowdin fix: do not escape space between PyPI repository url and package name… (go-gitea#23981) Make bindata static build parse builtin templates correctly (go-gitea#24003) Group template helper functions, remove `Printf`, improve template error messages (go-gitea#23982) Adjust sticky pr header to cover background (go-gitea#23956) Update github.com/google/go-github to v51 (go-gitea#23946) ...
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
backport/done
All backports for this PR have been created
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
outdated/backport/v1.19
This PR should be backported to Gitea 1.19
outdated/theme/markdown
topic/ui
Change the appearance of the Gitea UI
type/bug
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is a conflicting fomantic rule that hid the error messages inside the markdown preview tab for things like mermaid or katex. Overruled it to always show these errors.