This library provides HTML parsing for both Android and iOS in Xamarin Applications.
The HTML is parsed using the Html Agility Pack,
and then emitted as rich-text for use within a mobile application. This
operation can be done by instanciating a ReText object and passing it HTML.
On Android, the rich-text is emitted as a SpannableString that can be set on
a TextView. Whereas, on iOS, rich-text is emitted as a NSMutableAttributedString,
which can then be set on a ReLabel (a subclass of UILabel).
This package includes a library for each platform as well as a test application for demonstration purposes.
The following HTML is supported:
<h1><h1>...<h5></h5><p></p>,<div></div>: Become strings with a trailing newline<i></i>,<em></em>: Italics<b></b>,<strong></strong>: Bold<a href="URL"></a>: Clickable link<font></font>- Attribute
colorwith supported format:#FFFFFF, orrgb(255,0,0) - Attribute
fontwith supported format:Helvetica
- Attribute