diff --git a/markitect/ast_service.py b/markitect/ast_service.py index a8097a09..cf88313e 100644 --- a/markitect/ast_service.py +++ b/markitect/ast_service.py @@ -179,8 +179,8 @@ class ASTService: # Add some content info for readability content_info = "" if token.get('content'): - content_preview = token['content'][:30] - if len(token['content']) > 30: + content_preview = token['content'][:60] + if len(token['content']) > 60: content_preview += "..." content_info = f' "{content_preview}"' elif token.get('tag'): @@ -196,8 +196,8 @@ class ASTService: for token in ast: token_type = token.get('type', 'unknown') if token.get('content'): - content = token['content'][:20] - if len(token['content']) > 20: + content = token['content'][:40] + if len(token['content']) > 40: content += "..." lines.append(f'{token_type}: "{content}"') else: