Showing
1 changed file
with
25 additions
and
15 deletions
1 | -This package can render ChatGPT response into Flutter app. This package suppports Markdown and Latex of ChatGPT. | 1 | +# 📦 GPT Markdown & LaTeX for Flutter |
2 | 2 | ||
3 | -## Features | 3 | + |
4 | 4 | ||
5 | -You can create simple markdown view by this package. Use can make the contents selectable using `SelectiionArea` widget. | 5 | +A comprehensive Flutter package for rendering rich Markdown and LaTeX content in your apps, designed for seamless integration with AI outputs like ChatGPT and Gemini. |
6 | + | ||
7 | +⭐ If you find this package helpful, please give it a like on [pub.dev](https://pub.dev/packages/gpt_markdown)! Your support means a lot! ⭐ | ||
8 | + | ||
9 | +--- | ||
10 | + | ||
11 | +## ✨ Key Features | ||
12 | + | ||
13 | +Render a wide variety of content with full Markdown and LaTeX support, including: | ||
6 | 14 | ||
7 | -At this moment this package supports: | ||
8 | - List | 15 | - List |
9 | 16 | ||
10 | - Unordered list item | 17 | - Unordered list item |
@@ -65,15 +72,23 @@ At this moment this package supports: | @@ -65,15 +72,23 @@ At this moment this package supports: | ||
65 | [] Unchecked checkbox | 72 | [] Unchecked checkbox |
66 | [x] Checked checkbox | 73 | [x] Checked checkbox |
67 | 74 | ||
75 | +- You can also make the content selectable using `SelectiionArea` widget. | ||
76 | + | ||
77 | +## 🚀 Why Use GPT Markdown? | ||
78 | + | ||
79 | +- **Optimized for AI Outputs**: Render ChatGPT and Gemini responses flawlessly in your Flutter apps. | ||
80 | +- **Rich Customization**: Easily apply custom styles using Flutter widgets like `TextStyle`. | ||
81 | +- **Selectable Content**: Enable content selection with `SelectionArea`. | ||
82 | +- **Seamless Integration**: Works out of the box with minimal setup. | ||
68 | 83 | ||
69 | -## Getting started | 84 | +## 🛠️ Getting Started |
70 | 85 | ||
71 | Run this command: | 86 | Run this command: |
72 | ``` | 87 | ``` |
73 | flutter pub add gpt_markdown | 88 | flutter pub add gpt_markdown |
74 | ``` | 89 | ``` |
75 | 90 | ||
76 | -## Usage | 91 | +## 📖 Usage |
77 | 92 | ||
78 | Check the documentation [here.](https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown/example) | 93 | Check the documentation [here.](https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown/example) |
79 | 94 | ||
@@ -91,8 +106,7 @@ return GptMarkdown( | @@ -91,8 +106,7 @@ return GptMarkdown( | ||
91 | 106 | ||
92 | ``` | 107 | ``` |
93 | 108 | ||
94 | -## Here I am providing some sample response of ChatGPT and it's result: | ||
95 | - | 109 | +## 💡 ChatGPT Response Examples |
96 | 110 | ||
97 | ```markdown | 111 | ```markdown |
98 | ## ChatGPT Response | 112 | ## ChatGPT Response |
@@ -131,14 +145,10 @@ You can also use LaTeX for mathematical expressions. Here's an example: | @@ -131,14 +145,10 @@ You can also use LaTeX for mathematical expressions. Here's an example: | ||
131 | 145 | ||
132 | Markdown and LaTeX can be powerful tools for formatting text and mathematical expressions in your Flutter app. If you have any questions or need further assistance, feel free to ask! | 146 | Markdown and LaTeX can be powerful tools for formatting text and mathematical expressions in your Flutter app. If you have any questions or need further assistance, feel free to ask! |
133 | ``` | 147 | ``` |
134 | -<img width="714" alt="Screenshot 2024-02-15 at 4 13 59 AM" src="https://github.com/saminsohag/flutter_packages/assets/59507062/8f4a4068-a12c-45d1-a954-ebaf3822e754"> | ||
135 | - | ||
136 | -<img width="713" alt="Screenshot 2024-02-15 at 4 14 24 AM" src="https://github.com/saminsohag/flutter_packages/assets/59507062/07530522-62a2-405a-8a3f-c284293a306e"> | ||
137 | - | 148 | +<img width="614" alt="Screenshot 2024-02-15 at 4 13 59 AM" src="https://github.com/saminsohag/flutter_packages/assets/59507062/8f4a4068-a12c-45d1-a954-ebaf3822e754"> |
138 | 149 | ||
139 | 150 | ||
140 | - | ||
141 | - | ||
142 | -## Additional information | 151 | +## 🔗 Additional Information |
143 | 152 | ||
144 | You can find the source code [here.](https://github.com/Infinitix-LLC/gpt_markdown) | 153 | You can find the source code [here.](https://github.com/Infinitix-LLC/gpt_markdown) |
154 | + |
-
Please register or login to post a comment