Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚚 Feat: supersede markup.tableOfContents settings with params.page.toc #508

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

Lruihao
Copy link
Member

@Lruihao Lruihao commented Sep 27, 2024

Fixed #505

Params change

[params]
  # Table of the contents config
  [params.page.toc]
    # ...
    # FixIt 0.3.12 | NEW supersede `markup.tableOfContents` settings
    ordered = false
    startLevel = 2
    endLevel = 6
  [params.page.heading]
  # FixIt 0.3.3 | NEW whether to capitalize automatic text of headings
    capitalize = false
    # FixIt 0.3.12 | CHANGED must set `params.page.toc.ordered` to true
    [params.page.heading.number]
      # ...

Front matter change

# Don't show number in TOC and headings
toc:
  ordered: false

@Lruihao Lruihao added bug Something isn't working enhancement New feature or request labels Sep 27, 2024
@Lruihao Lruihao added this to the v0.3.x milestone Sep 27, 2024
@Lruihao Lruihao requested a review from a team September 27, 2024 09:08
@Lruihao Lruihao self-assigned this Sep 27, 2024
Copy link

vercel bot commented Sep 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fixit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 9:08am

@Lruihao Lruihao changed the base branch from master to dev September 27, 2024 09:08
@Lruihao Lruihao merged commit 456db38 into dev Sep 27, 2024
6 checks passed
@Lruihao Lruihao deleted the change-toc-params branch September 27, 2024 09:10
Lruihao added a commit that referenced this pull request Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG] Catalog number cannot be configured | 目录编号无法配置
1 participant