zeba_academy_markdown 0.0.1 copy "zeba_academy_markdown: ^0.0.1" to clipboard
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:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. 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:

๐ŸŒ https://sufyanism.com/

๐Ÿ’ผ 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

โžก 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!

0
likes
140
points
72
downloads

Documentation

API reference

Publisher

verified publisherzeba.academy

Weekly Downloads

Beautiful markdown rendering package for Flutter with themes, code blocks, tables, quotes, and rich typography.

Homepage

License

GPL-3.0 (license)

Dependencies

flutter, flutter_highlight, flutter_markdown, google_fonts, markdown

More

Packages that depend on zeba_academy_markdown