Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb20ed56

Browse files
author
FalkWolsky
committed
Update React Markdown
1 parent9f7fc35 commitb20ed56

File tree

3 files changed

+273
-6
lines changed

3 files changed

+273
-6
lines changed

‎client/packages/lowcoder/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"react-helmet":"^6.1.0",
7474
"react-joyride":"^2.4.0",
7575
"react-json-view":"^1.21.3",
76-
"react-markdown":"^8.0.0",
76+
"react-markdown":"^9.0.1",
7777
"react-qr-barcode-scanner":"^1.0.6",
7878
"react-quill":"^2.0.0",
7979
"react-redux":"^7.2.6",

‎client/packages/lowcoder/src/pages/support/supportDetail.tsx‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@ const convertJiraToMarkdown = (content: string) => {
8383
if(line.trim().startsWith('|')){
8484
// If this is the header row, count the columns and generate the dashes line
8585
if(!inTable){
86-
inTable=true;// We're now in a table
86+
inTable=true;
8787
constcolumns=line.split('|').filter(Boolean).length;
8888

8989
// Create the markdown dashes row for headers
90-
constdashes='| '+newArray(columns).fill('---').join(' | ')+' |';
91-
returnline+'\n'+dashes;// Return the header with the dashes row
90+
constdashes='| '+newArray(columns).fill('-').join(' | ')+' |';
91+
returnline+'\n'+dashes;
92+
// return line + '\n';
9293
}else{
9394
// If already in a table, just return the row as it is
9495
returnline;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp