html5tagger
html5tagger copied to clipboard
Create HTML documents from Python
The goal of this PR is to come up with a nicer API for assigning HTML `id` and `class` attributes that clash with Python syntax. One approach is to overload...
The main purpose of this PR is to enable functionality to output HTML with line breaks and indentation for easily viewing and debugging. ```python tree = HTMLSyntaxTree.create(doc) tree.display_tree() # Prints...
Some type annotations were inferred. Reviews are needed.