pingcap / website-docs

The next generation of PingCAP Docs. Powered by Gatsby ⚛️.
https://docs.pingcap.com/
MIT License
22 stars 33 forks source link

support markdown custom-id & enable `replaceInternalHref` #220

Closed shczhen closed 2 years ago

shczhen commented 2 years ago

## origin title {#custom-id} will be translated to <path>#custom-id in html

replaceInternalHref will transform #stmt-summary-span-classversion-marknew-in-v304span to #stmt-summary-new-in-v304 under page scope.

shczhen commented 2 years ago

https://github.com/pingcap/website-docs/issues/221