diff --git a/spip2md/content.py b/spip2md/content.py index 3f8fbfd..dd5cbf0 100644 --- a/spip2md/content.py +++ b/spip2md/content.py @@ -16,10 +16,10 @@ class content: # Parses a file & display its parse tree def test(filename): - print(f"--- Parsing of {filename}") + print(f"--- Parsing of {filename} ---\n") parsed = spipParser.parse(open(path.dirname(__file__) + "/" + filename).read()) print(parsed, "\n") - print(parsed.pretty(), "\n") + print("--- Pretty print : ---\n\n", parsed.pretty(), "\n") # Test