parseLink static method
String
parseLink({
- required String text,
- required String links,
- required GeneralLibParseModeType generalLibParseModeType,
Implementation
static String parseLink({
required String text,
required String links,
required GeneralLibParseModeType generalLibParseModeType,
}) {
switch (generalLibParseModeType) {
case GeneralLibParseModeType.html:
return parseHtmlLink(text, links);
case GeneralLibParseModeType.markdown:
return parseMarkdownLink(text, links);
default:
return text;
}
}