File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ extension HTMLTextDemoViewController: TweakableDemo {
3939 enum Tweaks : String , CaseIterable , TweakingOption {
4040 case `default`
4141 case linebreak
42+ case list
43+ case paragraph
4244 case priceHighlight
4345 case strikethrough
4446 case mix
@@ -67,6 +69,10 @@ extension HTMLTextDemoViewController: TweakableDemo {
6769 htmlView = HTMLText ( " This is <b>HTML</b> " )
6870 case . linebreak:
6971 htmlView = HTMLText ( " This is <b>HTML</b><br>over two lines " )
72+ case . list:
73+ htmlView = HTMLText ( " This is a list:<ul><li>Item one</li><li>Item two</li><li>Item three</li></ul> " )
74+ case . paragraph:
75+ htmlView = HTMLText ( " <p>This is a paragraph.</p><p>And this is another one.</p> " )
7076 case . priceHighlight:
7177 htmlView = HTMLText (
7278 " Shipping costs <span style= \" color:tjt-price-highlight \" >60 NOK</span> " ,
You can’t perform that action at this time.
0 commit comments