Repository navigation
新增功能 #222 - #224
Merged
Merged
新增功能 #222#224
Conversation
简介原先只能存纯文本,团队无法在主页里排版说明、贴代码或写公式。 改走与笔记/犇犇/评论同一条 utils.render_markdown_html 管线, bleach 清洗 与 XSS 约定保持不变;同时注入 KaTeX head,并在创建/设置表单标注语法支持。
端到端断言粗体/代码/列表渲染、LaTeX 定界符原样保留、<script> 被剥离, 以及设置页与创建页的语法提示;文档记录 \(...\) 会被 Markdown 转义吞掉, 仅 $...$ / $$...$$ 可用。
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
新增功能 #222