readthedocs/commonmark.py

Use an enumeration for the nodes' t

Lonami opened this issue · 0 comments

Currently, figuring out the available types a node can be requires either reading through the source code or trial and error. I would sugget using enum instead. If there's interest in this change, I could send a pull request, although I'm guessing this would be a breaking change.