diff --git a/HTMLView.js b/HTMLView.js index de37cbd..9b3e48f 100644 --- a/HTMLView.js +++ b/HTMLView.js @@ -6,6 +6,7 @@ import {Linking, Platform, StyleSheet, View, ViewPropTypes} from 'react-native'; const boldStyle = {fontWeight: '500'}; const italicStyle = {fontStyle: 'italic'}; const underlineStyle = {textDecorationLine: 'underline'}; +const strikethroughStyle = {textDecorationLine: 'line-through'}; const codeStyle = {fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace'}; const baseStyles = StyleSheet.create({ @@ -14,6 +15,8 @@ const baseStyles = StyleSheet.create({ i: italicStyle, em: italicStyle, u: underlineStyle, + s: strikethroughStyle, + strike: strikethroughStyle, pre: codeStyle, code: codeStyle, a: {