unorderedMarker function
- , * , or + bullet. Returns the content after the marker.
Implementation
String? unorderedMarker(String trimmed) {
if (trimmed.length >= 2 && trimmed.codeUnitAt(1) == _space) {
final c = trimmed[0];
if (c == '-' || c == '*' || c == '+') {
return trimmed.substring(2);
}
}
return null;
}