Skip to content

Commit

Permalink
Version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sub6Resources committed Aug 15, 2018
1 parent 4118016 commit 0a858db
Show file tree
Hide file tree
Showing 5 changed files with 724 additions and 34 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
## [0.3.0] - August 15, 2018:

* Adds support for `abbr`, `address`, `article`, `aside`, `blockquote`, `br`, `cite`, `code`, `data`, `dd`,
`del`, `dfn`, `dl`, `dt`, `figcaption`, `figure`, `footer`, `header`, `hr`, `img`, `ins`, `kbd`, `li`,
`main`, `mark`, `nav`, `noscript`, `pre`, `q`, `rp`, `rt`, `ruby`, `s`, `samp`, `section`, `small`, `span`,
`template`, `time`, and `var`

* Adds partial support for `a`, `ol`, and `ul`

## [0.2.0] - August 14, 2018:

* Adds support for `img`.

## [0.1.1] - August 14, 2018:

* Fixed `b` to be bold, not italic...
* Adds support for `em`, and `strong`
* Add support for a default `TextStyle`
* Adds support for a default `TextStyle`

## [0.1.0] - August 14, 2018:

Expand Down
132 changes: 127 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,148 @@ A Flutter widget for rendering static html tags as Flutter widgets.
Add the following to your `pubspec.yaml` file:

dependencies:
flutter_html: ^0.1.1
flutter_html: ^0.3.0

## Currently Supported HTML Tags:

* `abbr`
* `address`
* `article`
* `aside`
* `b`
* `blockquote`
* `body`
* `br`
* `cite`
* `code`
* `data`
* `dd`
* `del`
* `dfn`
* `div`
* `dl`
* `dt`
* `em`
* `h1` - `h6`
* `figcaption`
* `figure`
* `footer`
* `h1`
* `h2`
* `h3`
* `h4`
* `h5`
* `h6`
* `header`
* `hr`
* `i`
* `img`
* `ins`
* `kbd`
* `li`
* `main`
* `mark`
* `nav`
* `noscript`
* `p`
* `pre`
* `q`
* `rp`
* `rt`
* `ruby`
* `s`
* `samp`
* `section`
* `small`
* `span`,
* `strong`
* `template`
* `time`
* `u`
* `var`

### Partially supported elements:
> These are common elements that aren't yet fully supported, but won't be ignored and will still render.
* `a`
* `ol`
* `ul`

### List of _planned_ supported elements:
> These are elements that are planned, but present a specific challenge that makes them somewhat difficult to implement.
Here are a list of elements that this package will never support:
* `audio`
* `bdi`
* `bdo`
* `caption`
* `col`
* `colgroup`
* `details`
* `source`
* `sub`
* `summary`
* `sup`
* `svg`
* `table`
* `tbody`
* `td`
* `tfoot`
* `th`
* `thead`
* `tr`
* `track`
* `video`
* `wbr`

* `script`
### Here are a list of elements that I don't plan on implementing:

> Feel free to open an issue if you have a good reason and feel like you can convince me to implement
them. A _well written_ and _complete_ pull request implementing one of these is always welcome,
though I cannot promise I will merge them.

> Note: These unsupported tags will just be ignored.
* `acronym` (deprecated, use `abbr` instead)
* `applet` (deprecated)
* `area`
* `base` (`head` elements are not rendered)
* `basefont` (deprecated, use defaultTextStyle on `Html` widget instead)
* `big` (deprecated)
* `button`
* `canvas`
* `datalist`
* `dialog`
* `dir` (deprecated)
* `embed`
* `font` (deprecated)
* `fieldset` (`form` elements are outside the scope of this package)
* `form` (`form`s are outside the scope of this package)
* `frame` (deprecated)
* `frameset` (deprecated)
* `head` (`head` elements are not rendered)
* `iframe`
* `input` (`form` elements are outside the scope of this package)
* `label` (`form` elements are outside the scope of this package)
* `legend` (`form` elements are outside the scope of this package)
* `link` (`head` elements are not rendered)
* `map`
* `meta` (`head` elements are not rendered)
* `meter` (outside the scope for now; maybe later)
* `noframe` (deprecated)
* `object`
* `optgroup` (`form` elements are outside the scope of this package)
* `option` (`form` elements are outside the scope of this package)
* `output`
* `param`
* `picture`
* `progress`
* `script`
* `select` (`form` elements are outside the scope of this package)
* `strike` (deprecated)
* `style`
* `textarea` (`form` elements are outside the scope of this package)
* `title` (`head` elements are not rendered)
* `tt` (deprecated)

> Note: Unsupported tags will not be rendered

## Why this package?

Expand Down
Loading

0 comments on commit 0a858db

Please sign in to comment.