Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
gpt_markdown
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
saminsohag
2024-02-15 20:07:15 +0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
59ace4cbb3592fb4e42842852dd70354f543f434
59ace4cb
1 parent
cd40b028
HLine inside Table problem fixed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
gpt_markdown/lib/md_widget.dart
gpt_markdown/lib/md_widget.dart
View file @
59ace4c
...
...
@@ -82,15 +82,21 @@ class MdWidget extends StatelessWidget {
(
e
)
=>
TableRow
(
children:
List
.
generate
(
maxCol
,
(
index
)
=>
Center
(
child:
MdWidget
(
(
e
[
index
]
??
""
).
trim
(),
textDirection:
textDirection
,
onLinkTab:
onLinkTab
,
style:
style
,
latexWorkaround:
latexWorkaround
,
),
),
(
index
)
{
String
data
=
e
[
index
]
??
""
;
if
(
RegExp
(
r"^---+$"
).
hasMatch
(
data
.
trim
()))
{
return
const
SizedBox
();
}
return
Center
(
child:
MdWidget
(
(
e
[
index
]
??
""
).
trim
(),
textDirection:
textDirection
,
onLinkTab:
onLinkTab
,
style:
style
,
latexWorkaround:
latexWorkaround
,
),
);
},
),
),
)
...
...
Please
register
or
login
to post a comment