Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Ftt_Common
Commits
9af54c51
Commit
9af54c51
authored
Aug 21, 2026
by
段廷瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref: markdown渲染优化
parent
3b9cf83e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
103 additions
and
15 deletions
+103
-15
MarkdownRenderer.cs
Tools/MyAgent/Support/MarkdownRenderer.cs
+101
-13
TextPatterns.cs
Tools/MyAgent/Support/TextPatterns.cs
+2
-2
No files found.
Tools/MyAgent/Support/MarkdownRenderer.cs
View file @
9af54c51
This diff is collapsed.
Click to expand it.
Tools/MyAgent/Support/TextPatterns.cs
View file @
9af54c51
...
...
@@ -13,9 +13,9 @@ namespace Tools.MyAgent
@"\b([A-Za-z]:[\\/](?:[^\s\\/:*?""<>|]+[\\/])*[^\s\\/:*?""<>|]+\.[a-zA-Z0-9]{1,10})\b"
,
RegexOptions
.
Compiled
);
/// <summary>UNC 网络路径 \\server\share\...(到空白/引号/常见句读标点为止)</summary>
/// <summary>UNC 网络路径 \\server\share\...(到空白/引号/常见句读标点为止
;末尾英文句号视为句读,用负向后瞻排除——文件名中的句号不受影响,如 file.md
)</summary>
public
static
readonly
Regex
UncFilePath
=
new
Regex
(
@"\\\\[^\s<\"",。;:、!?))】》>]+"
,
@"\\\\[^\s<\"",。;:、!?))】》>]+
(?<![.])
"
,
RegexOptions
.
Compiled
);
/// <summary>http/https 链接</summary>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment