Skip to content

Commit

Permalink
fix: 前台目录关闭自动加序号&前台目录锚点以文字为准
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Aug 29, 2022
1 parent 2e5b472 commit dac811c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/website/components/Toc/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export default function (props: {
目录
</div>
<MarkdownNavbar
updateHashAuto={true}
ordered={false}
// declarative={true}
// updateHashAuto={true}
source={props.content}
headingTopOffset={56}
onHashChange={(newHash, oldHash) => {
Expand Down

0 comments on commit dac811c

Please sign in to comment.