zeba_academy_markdown 0.0.1
zeba_academy_markdown: ^0.0.1 copied to clipboard
Beautiful markdown rendering package for Flutter with themes, code blocks, tables, quotes, and rich typography.
zeba_academy_markdown #
Beautiful markdown rendering package for Flutter with rich typography, custom themes, syntax code blocks, tables, quotes, and modern UI support.
โจ Features #
- ๐จ Beautiful markdown rendering
- ๐งฉ Rich typography styles
- ๐ป Syntax-styled code blocks
- ๐ Built-in copy button support
- ๐ Light & dark theme support
- ๐ Quote block styling
- ๐ Markdown table rendering
- โก Fast and lightweight
- ๐งฑ Custom markdown themes
- ๐ฑ Responsive Flutter UI
๐ฆ Installation #
Add this to your pubspec.yaml:
dependencies:
zeba_academy_markdown: ^0.0.1
Then run:
flutter pub get
๐ Import #
import 'package:zeba_academy_markdown/zeba_academy_markdown.dart';
Basic Usage #
ZebaMarkdown(
data: '# Hello World',
)
Complete Example #
import 'package:flutter/material.dart';
import 'package:zeba_academy_markdown/zeba_academy_markdown.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(
title: const Text('Zeba Markdown'),
),
body: Padding(
padding: const EdgeInsets.all(20),
child: SingleChildScrollView(
child: ZebaMarkdown(
selectable: true,
data: '''
# Zeba Academy Markdown
Beautiful markdown package.
## Features
- Rich Typography
- Code Blocks
- Quotes
- Tables
- Themes
### Dart Code
```dart
void main() {
print("Hello Zeba");
}
Beautiful markdown rendering for Flutter.
| Name | Role |
|---|---|
| Zeba | Academy |
| Flutter | SDK |
| ''', |
),
),
),
),
);
} }
---
# ๐จ Custom Theme Example
```dart
ZebaMarkdown(
data: '# Custom Theme',
theme: ZebaMarkdownTheme.dark(),
)
๐งฉ Available Themes #
Light Theme #
ZebaMarkdownTheme.light()
Dark Theme #
ZebaMarkdownTheme.dark()
๐ Selectable Markdown #
ZebaMarkdown(
selectable: true,
data: 'Selectable markdown text',
)
๐ Package Structure #
lib/
โโโ src/
โ โโโ themes/
โ โโโ widgets/
โ โโโ utils/
โโโ zeba_academy_markdown.dart
๐ Dependencies #
- flutter_markdown
- google_fonts
- flutter_highlight
- markdown
๐งช Testing #
Run tests using:
flutter test
Analyze package:
flutter analyze
Format code:
dart format .
๐ Roadmap #
Upcoming features:
- โ Syntax highlighting
- โ Custom markdown widgets
- โ Inline code styling
- โ Animated markdown rendering
- โ LaTeX support
- โ HTML support
- โ Mermaid diagrams
- โ GitHub-style markdown theme
- โ Image rendering improvements
๐ค Contributing #
Contributions are welcome!
If you'd like to improve this package:
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a pull request
๐ License #
MIT License
๐จโ๐ป About Me #
โจ Iโm Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.
You can learn more about me and my work at:
๐ผ LinkedIn: https://www.linkedin.com/in/sufyanism
๐ Your all-in-one learning hub! #
Explore courses and resources in coding, tech, and development at Zeba Academy.
๐ป Learn practical development skills through:
- Curated tutorials
- Real-world projects
- Hands-on coding
- Flutter & app development
- Modern programming concepts
๐ Links #
โก Main Website https://zeba.academy
โก Coding Platform https://code.zeba.academy
โก YouTube Channel https://www.youtube.com/@zeba.academy
โก Instagram https://www.instagram.com/zeba.academy/
โค๏ธ Support #
If you like this package, please give it a โญ on GitHub and share it with the Flutter community.
Thank you for visiting!