syntax-tree / mdast

Markdown Abstract Syntax Tree format
https://unifiedjs.com
1.1k stars 45 forks source link

Rename `depth` to `rank` #31

Closed wooorm closed 2 years ago

wooorm commented 4 years ago

Subject of the feature

Rank is the term used by HTML. Depth alludes a bit to nesting, which is not the case.

vnphanquang commented 4 years ago

I agree. Using rank will be consistent with HTML 5.2 specs as well.

wooorm commented 4 years ago

Yup! 👍

(edit: I misread your comment)

wooorm commented 2 years ago

Closing for now. It isn’t perfect. At some point it can be improved. For now, it might just wrak havoc...

github-actions[bot] commented 2 years ago

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.