tex_markdown 0.1.10

SDKflutter
Platformandroidioswindowslinuxmacosweb

This package is used to create flutter widget that can render markdown and latex formulas. It is very simple to use and uses native flutter components.

This is a flutter package to create markdown widget. with Latex math formula support and also simple to use package.

Features

You can create simple markdown view by this package.

At this moment this package supports:

  • List

      - Unordered list item
      1. Ordered list item
    
  • Horizontal line

      ---
    
  • Links

      [<text here>](<href>)
    
  • Images with size

      ![<with>x<hight> someText](url)
    
  • Table

    | Name | Roll |
    | sohag | 1   |
    
    
    NameRoll
    sohag1
  • Bolt text

      **Bolt text**
    
  • Italic text

      *Italic text*
    
  • heading texts

      # Heading 1
      ## Heading 2
      ### Heading 3
      #### Heading 4
      ##### Heading 5
      ###### Heading 6
    
  • Latex formula $\frac a b$

      $\frac a b$
    
  • Radio button and checkbox

      () Unchecked radio
      (x) Checked radio
      [] Unchecked checkbox
      [x] Checked checkbox
    

Getting started

Run this command:

flutter pub add tex_markdown 

Usage

Check the documentation here.

import 'package:flutter/material.dart';
import 'package:tex_markdown/tex_markdown.dart';

return TexMarkdown(
    '''
    * This is a unordered list.
    ''',
    style: const TextStyle(
    color: Colors.red,
),

Additional information

You can find the source code here.