formatString method
Implementation
String formatString(String content, {FormatterConfig? config}) {
final tokens = _lexer.lex(content);
final nodes = _parser.parseTokens(tokens);
final result = format(nodes, config: config);
return result;
}