feat(toc): seek anchor id from parent nodes when target is not available
#3404

chigix wants to merge chigix:work-toc-fix into hexojs:master

We do not currently have an analysis of these two commits