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 14:22:51 +0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e3bd484f28bc7ed8d2d043a0eff735b1e09c8e16
e3bd484f
1 parent
302a9cea
Some latex releted fixes
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
13 deletions
gpt_markdown/CHANGELOG.md
gpt_markdown/example/lib/main.dart
gpt_markdown/example/pubspec.lock
gpt_markdown/lib/markdown_component.dart
gpt_markdown/pubspec.yaml
gpt_markdown/CHANGELOG.md
View file @
e3bd484
## 0.0.3
*
Some latex related fixes.
## 0.0.2
*
TextScaler and TextAlign added.
...
...
gpt_markdown/example/lib/main.dart
View file @
e3bd484
...
...
@@ -136,12 +136,7 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex
),
child:
LayoutBuilder(builder: (context, constraints) {
return SingleChildScrollView(
scrollDirection: Axis.horizontal,
reverse: _direction == TextDirection.rtl,
child: SizedBox(
width: 550,
child: Theme(
return Theme(
data: Theme.of(context).copyWith(
textTheme: const TextTheme(
// For H1.
...
...
@@ -166,16 +161,15 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex
log(url, name: "url");
},
textAlign: TextAlign.justify,
textScaler:
MediaQuery.textScalerOf(context),
textScaler: const TextScaler.linear(1.3),
// textScaler:
// MediaQuery.textScalerOf(context),
style: const TextStyle(
// Regular text font size here.
fontSize: 15,
),
),
// child: const Text("Hello"),
),
),
);
}),
);
...
...
gpt_markdown/example/pubspec.lock
View file @
e3bd484
...
...
@@ -182,7 +182,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.
2
"
version: "0.0.
3
"
http:
dependency: transitive
description:
...
...
gpt_markdown/lib/markdown_component.dart
View file @
e3bd484
...
...
@@ -18,9 +18,9 @@ abstract class MarkdownComponent {
HrLine
(),
ImageMd
(),
BoldMd
(),
ItalicMd
(),
LatexMathMultyLine
(),
LatexMath
(),
ItalicMd
(),
ATagMd
(),
];
...
...
gpt_markdown/pubspec.yaml
View file @
e3bd484
name
:
gpt_markdown
description
:
"
The
purpose
of
this
package
is
to
render
the
response
of
ChatGPT
into
a
Flutter
app."
version
:
0.0.
2
version
:
0.0.
3
homepage
:
https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown
environment
:
...
...
Please
register
or
login
to post a comment