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
2025-06-12 11:24:00 +0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0b5ae854326f806fbeb7819babc943e837773961
0b5ae854
1 parent
60b63a7c
prepare for publish
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
48 deletions
CHANGELOG.md
example/pubspec.lock
lib/markdown_component.dart
pubspec.yaml
CHANGELOG.md
View file @
0b5ae85
## 1.0.20
*
Fix: support balanced parentheses in image and link URLs.
[
#68
](
https://github.com/Infinitix-LLC/gpt_markdown/pull/68
)
## 1.0.19
*
Performance improvements.
...
...
example/pubspec.lock
View file @
0b5ae85
...
...
@@ -5,18 +5,18 @@ packages:
dependency: transitive
description:
name: args
sha256:
bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6
sha256:
d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
url: "https://pub.dev"
source: hosted
version: "2.
6
.0"
version: "2.
7
.0"
async:
dependency: transitive
description:
name: async
sha256:
d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63
sha256:
"758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
url: "https://pub.dev"
source: hosted
version: "2.1
2
.0"
version: "2.1
3
.0"
boolean_selector:
dependency: transitive
description:
...
...
@@ -77,23 +77,15 @@ packages:
dependency: transitive
description:
name: fake_async
sha256: "
6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc
"
sha256: "
5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44
"
url: "https://pub.dev"
source: hosted
version: "1.3.
2
"
version: "1.3.
3
"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_highlight:
dependency: transitive
description:
name: flutter_highlight
sha256: "7b96333867aa07e122e245c033b8ad622e4e3a42a1a2372cbb098a2541d8782c"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
flutter_lints:
dependency: "direct dev"
description:
...
...
@@ -106,18 +98,18 @@ packages:
dependency: "direct main"
description:
name: flutter_math_fork
sha256: "
284bab89b2fbf1bc3a0baf13d011c1dd324d004e35d177626b77f2fc056366ac
"
sha256: "
6d5f2f1aa57ae539ffb0a04bb39d2da67af74601d685a161aff7ce5bda5fa407
"
url: "https://pub.dev"
source: hosted
version: "0.7.
3
"
version: "0.7.
4
"
flutter_svg:
dependency: transitive
description:
name: flutter_svg
sha256:
c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b
sha256:
d44bf546b13025ec7353091516f6881f1d4c633993cb109c3916c3a0159dadf1
url: "https://pub.dev"
source: hosted
version: "2.
0.17
"
version: "2.
1.0
"
flutter_test:
dependency: "direct dev"
description: flutter
...
...
@@ -134,23 +126,15 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.16"
highlight:
dependency: transitive
description:
name: highlight
sha256: "5353a83ffe3e3eca7df0abfb72dcf3fa66cc56b953728e7113ad4ad88497cf21"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
version: "1.0.19"
http:
dependency: transitive
description:
name: http
sha256:
fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f
sha256:
"2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b"
url: "https://pub.dev"
source: hosted
version: "1.
3
.0"
version: "1.
4
.0"
http_parser:
dependency: transitive
description:
...
...
@@ -163,10 +147,10 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256:
c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
sha256:
"6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0"
url: "https://pub.dev"
source: hosted
version: "10.0.
8
"
version: "10.0.
9
"
leak_tracker_flutter_testing:
dependency: transitive
description:
...
...
@@ -251,10 +235,10 @@ packages:
dependency: transitive
description:
name: provider
sha256:
c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c
sha256:
"4abbd070a04e9ddc287673bf5a030c7ca8b685ff70218720abab8b092f53dd84"
url: "https://pub.dev"
source: hosted
version: "6.1.
2
"
version: "6.1.
5
"
sky_engine:
dependency: transitive
description: flutter
...
...
@@ -344,10 +328,10 @@ packages:
dependency: transitive
description:
name: vector_graphics_compiler
sha256: "
1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad
"
sha256: "
557a315b7d2a6dbb0aaaff84d857967ce6bdc96a63dc6ee2a57ce5a6ee5d3331
"
url: "https://pub.dev"
source: hosted
version: "1.1.1
6
"
version: "1.1.1
7
"
vector_math:
dependency: transitive
description:
...
...
@@ -360,10 +344,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256:
"0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14"
sha256:
ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02
url: "https://pub.dev"
source: hosted
version: "1
4.3.1
"
version: "1
5.0.0
"
watcher:
dependency: "direct main"
description:
...
...
@@ -376,10 +360,10 @@ packages:
dependency: transitive
description:
name: web
sha256:
cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
sha256:
"868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a"
url: "https://pub.dev"
source: hosted
version: "1.1.
0
"
version: "1.1.
1
"
xml:
dependency: transitive
description:
...
...
lib/markdown_component.dart
View file @
0b5ae85
...
...
@@ -282,7 +282,6 @@ class HrLine extends BlockMd {
class
CheckBoxMd
extends
BlockMd
{
@override
String
get
expString
=>
(
r"\[((?:\x|\ ))\]\ (\S[^\n]*?)$"
);
get
onLinkTab
=>
null
;
@override
Widget
build
(
...
...
@@ -303,7 +302,6 @@ class CheckBoxMd extends BlockMd {
class
RadioButtonMd
extends
BlockMd
{
@override
String
get
expString
=>
(
r"\(((?:\x|\ ))\)\ (\S[^\n]*)$"
);
get
onLinkTab
=>
null
;
@override
Widget
build
(
...
...
@@ -779,8 +777,6 @@ class SourceTag extends InlineMd {
}
}
/// Link text component
class
ATagMd
extends
InlineMd
{
@override
...
...
@@ -911,9 +907,7 @@ class ImageMd extends InlineMd {
double
?
height
;
double
?
width
;
if
(
altText
.
isNotEmpty
)
{
var
size
=
RegExp
(
r"^([0-9]+)?x?([0-9]+)?"
,
).
firstMatch
(
altText
.
trim
());
var
size
=
RegExp
(
r"^([0-9]+)?x?([0-9]+)?"
).
firstMatch
(
altText
.
trim
());
width
=
double
.
tryParse
(
size
?[
1
]?.
toString
().
trim
()
??
'a'
);
height
=
double
.
tryParse
(
size
?[
2
]?.
toString
().
trim
()
??
'a'
);
}
...
...
pubspec.yaml
View file @
0b5ae85
name
:
gpt_markdown
description
:
"
Powerful
Markdown
&
LaTeX
Renderer
for
Flutter:
Rich
Text,
Math,
Tables,
Links,
and
Text
Selection.
Ideal
for
ChatGPT,
Gemini,
and
more."
version
:
1.0.
19
version
:
1.0.
20
homepage
:
https://github.com/Infinitix-LLC/gpt_markdown
environment
:
...
...
@@ -15,7 +15,7 @@ dependencies:
dev_dependencies
:
flutter_test
:
sdk
:
flutter
flutter_lints
:
^
5
.0.0
flutter_lints
:
^
6
.0.0
flutter
:
fonts
:
...
...
Please
register
or
login
to post a comment