you can see an example here https://github.com/RallySoftware/burro/blob/master/UE_SHELL.md
Basically if the structure of the markdown file uses an h6 as a child of an h2 there will be extra padding generated by the padding-left that github applies to uls. I wonder if your extension could be smart enough to not add extra uls