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

[Feature Request] TOC numbering format #2053

Open
kaihux opened this issue Oct 7, 2024 · 0 comments
Open

[Feature Request] TOC numbering format #2053

kaihux opened this issue Oct 7, 2024 · 0 comments
Assignees

Comments

@kaihux
Copy link

kaihux commented Oct 7, 2024

I added a TOC into my markdown file by inserting the code below, the output in the preview is attached underneath the code block. Can I change the numbering format for the TOC? The current numbering format uses roman numerals for the level 2 title and letter a for lower level titles. I prefer using 1, 1.1, 1.1.1, ..... Do you know how I can do that? Thanks!

<!-- @import "[TOC]" {cmd="toc" depthFrom=1 depthTo=6 orderedList=true} -->

<!-- code_chunk_output -->

1. [Chapter 1. Conservation Laws and Governing Equations](#chapter-1-conservation-laws-and-governing-equations)
    1. [Statistical and Continuum Methods](#statistical-and-continuum-methods)
        1. [test title](#test-title)
            1. [test test](#test-test)
    2. [Lagrangian Coordinates](#lagrangian-coordinates)
    3. [Material derivative](#material-derivative)
    4. [Reynold’s Transport Theorem](#reynolds-transport-theorem)
    5. [Conservation of Mass](#conservation-of-mass)
    6. [Conservation of Momentum](#conservation-of-momentum)
    7. [Conservation of Energy](#conservation-of-energy)

<!-- /code_chunk_output -->

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants