Skip to content

Commit 0a858db

Browse files
committed
Version 0.3.0
1 parent 4118016 commit 0a858db

File tree

5 files changed

+724
-34
lines changed

5 files changed

+724
-34
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
1+
## [0.3.0] - August 15, 2018:
2+
3+
* Adds support for `abbr`, `address`, `article`, `aside`, `blockquote`, `br`, `cite`, `code`, `data`, `dd`,
4+
`del`, `dfn`, `dl`, `dt`, `figcaption`, `figure`, `footer`, `header`, `hr`, `img`, `ins`, `kbd`, `li`,
5+
`main`, `mark`, `nav`, `noscript`, `pre`, `q`, `rp`, `rt`, `ruby`, `s`, `samp`, `section`, `small`, `span`,
6+
`template`, `time`, and `var`
7+
8+
* Adds partial support for `a`, `ol`, and `ul`
9+
10+
## [0.2.0] - August 14, 2018:
11+
12+
* Adds support for `img`.
13+
114
## [0.1.1] - August 14, 2018:
215

316
* Fixed `b` to be bold, not italic...
417
* Adds support for `em`, and `strong`
5-
* Add support for a default `TextStyle`
18+
* Adds support for a default `TextStyle`
619

720
## [0.1.0] - August 14, 2018:
821

README.md

Lines changed: 127 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,148 @@ A Flutter widget for rendering static html tags as Flutter widgets.
77
Add the following to your `pubspec.yaml` file:
88

99
dependencies:
10-
flutter_html: ^0.1.1
10+
flutter_html: ^0.3.0
1111

1212
## Currently Supported HTML Tags:
1313

14+
* `abbr`
15+
* `address`
16+
* `article`
17+
* `aside`
1418
* `b`
19+
* `blockquote`
1520
* `body`
21+
* `br`
22+
* `cite`
23+
* `code`
24+
* `data`
25+
* `dd`
26+
* `del`
27+
* `dfn`
1628
* `div`
29+
* `dl`
30+
* `dt`
1731
* `em`
18-
* `h1` - `h6`
32+
* `figcaption`
33+
* `figure`
34+
* `footer`
35+
* `h1`
36+
* `h2`
37+
* `h3`
38+
* `h4`
39+
* `h5`
40+
* `h6`
41+
* `header`
42+
* `hr`
1943
* `i`
44+
* `img`
45+
* `ins`
46+
* `kbd`
47+
* `li`
48+
* `main`
49+
* `mark`
50+
* `nav`
51+
* `noscript`
2052
* `p`
53+
* `pre`
54+
* `q`
55+
* `rp`
56+
* `rt`
57+
* `ruby`
58+
* `s`
59+
* `samp`
60+
* `section`
61+
* `small`
62+
* `span`,
2163
* `strong`
64+
* `template`
65+
* `time`
2266
* `u`
67+
* `var`
68+
69+
### Partially supported elements:
70+
> These are common elements that aren't yet fully supported, but won't be ignored and will still render.
71+
72+
* `a`
73+
* `ol`
74+
* `ul`
75+
76+
### List of _planned_ supported elements:
77+
> These are elements that are planned, but present a specific challenge that makes them somewhat difficult to implement.
2378
24-
Here are a list of elements that this package will never support:
79+
* `audio`
80+
* `bdi`
81+
* `bdo`
82+
* `caption`
83+
* `col`
84+
* `colgroup`
85+
* `details`
86+
* `source`
87+
* `sub`
88+
* `summary`
89+
* `sup`
90+
* `svg`
91+
* `table`
92+
* `tbody`
93+
* `td`
94+
* `tfoot`
95+
* `th`
96+
* `thead`
97+
* `tr`
98+
* `track`
99+
* `video`
100+
* `wbr`
25101

26-
* `script`
102+
### Here are a list of elements that I don't plan on implementing:
103+
104+
> Feel free to open an issue if you have a good reason and feel like you can convince me to implement
105+
them. A _well written_ and _complete_ pull request implementing one of these is always welcome,
106+
though I cannot promise I will merge them.
107+
108+
> Note: These unsupported tags will just be ignored.
109+
110+
* `acronym` (deprecated, use `abbr` instead)
111+
* `applet` (deprecated)
112+
* `area`
113+
* `base` (`head` elements are not rendered)
114+
* `basefont` (deprecated, use defaultTextStyle on `Html` widget instead)
115+
* `big` (deprecated)
116+
* `button`
117+
* `canvas`
118+
* `datalist`
119+
* `dialog`
120+
* `dir` (deprecated)
121+
* `embed`
122+
* `font` (deprecated)
123+
* `fieldset` (`form` elements are outside the scope of this package)
124+
* `form` (`form`s are outside the scope of this package)
125+
* `frame` (deprecated)
126+
* `frameset` (deprecated)
127+
* `head` (`head` elements are not rendered)
27128
* `iframe`
129+
* `input` (`form` elements are outside the scope of this package)
130+
* `label` (`form` elements are outside the scope of this package)
131+
* `legend` (`form` elements are outside the scope of this package)
132+
* `link` (`head` elements are not rendered)
133+
* `map`
134+
* `meta` (`head` elements are not rendered)
135+
* `meter` (outside the scope for now; maybe later)
136+
* `noframe` (deprecated)
137+
* `object`
138+
* `optgroup` (`form` elements are outside the scope of this package)
139+
* `option` (`form` elements are outside the scope of this package)
140+
* `output`
141+
* `param`
142+
* `picture`
143+
* `progress`
144+
* `script`
145+
* `select` (`form` elements are outside the scope of this package)
146+
* `strike` (deprecated)
147+
* `style`
148+
* `textarea` (`form` elements are outside the scope of this package)
149+
* `title` (`head` elements are not rendered)
150+
* `tt` (deprecated)
28151

29-
> Note: Unsupported tags will not be rendered
30152

31153
## Why this package?
32154

0 commit comments

Comments
 (0)