onlyafly / number-headings-obsidian

Automatically number headings in a document in Obsidian
MIT License
113 stars 11 forks source link

[Help Request] Using Headings "###" #14

Closed FelipeRearden closed 2 years ago

FelipeRearden commented 2 years ago

Hello @onlyafly !!!!!

I'd like to ask your help with one specific workflow that I'm trying to implement with your amazing plug-in:

Here is my situation:

1- I have a note that only have level 3 headings ###

Here is my "raw" note:

Screen Shot 2021-10-11 at 07 39 43

Here is the resut that I want to achieve:

Screen Shot 2021-10-11 at 07 39 58

As you can see, i just wanna apply 1 2 and 3 with a level 3 headers. :)

I tried these settings to try to achieve this:

Attempt 1:

Screen Shot 2021-10-11 at 07 29 04 Screen Shot 2021-10-11 at 07 29 43

Attempt 2:

Screen Shot 2021-10-11 at 07 30 36 Screen Shot 2021-10-11 at 07 30 05

Attempt 3:

Screen Shot 2021-10-11 at 07 32 08 Screen Shot 2021-10-11 at 07 32 46

Here is my Settings Pane Screen Shot 2021-10-11 at 07 36 12

Could you help me to get the right setting to achieve this? :)


Thanks for your help!

Have a great day!!!

onlyafly commented 2 years ago

This isn't currently possible, but I think this is doable. You can currently do what you want with second-level headings by using the skip top level heading feature, but it won't work currently with third-level headings.

Let me look into it!

onlyafly commented 2 years ago

@FelipeRearden I've added a solution to this in version 1.8.0.

You can now use the first-level setting to set the first level to 3 for your case. So your front matter could be something like:

---
number headings: auto, first-level 3, 1.1
---

Hope this is works for you!

FelipeRearden commented 2 years ago

Let me look into it!

Thank you very much @onlyafly !!!

It's a feature that I really need :)

I wish you good luck!

Have a great day!

onlyafly commented 2 years ago

@FelipeRearden Looks like we wrote simultaneously. See my last comment above :)

FelipeRearden commented 2 years ago

@FelipeRearden I've added a solution to this in version 1.8.0.

You can now use the first-level setting to set the first level to 3 for your case. So your front matter could be something like:

Thank you very much @onlyafly !!!!!!! AMAZING!!!!

Hope this is works for you!

Let me test here the new version and I get back to you :)

FelipeRearden commented 2 years ago

@FelipeRearden Looks like we wrote simultaneously. See my last comment above :)

Yes @onlyafly !!!!

I send the message to you and I just refresh my notification and I saw your message.

Just to confirm that I saw the new version 1.8.0 and I will test and I get back to you.

Thanks again :)

FelipeRearden commented 2 years ago

@FelipeRearden I've added a solution to this in version 1.8.0.

You can now use the first-level setting to set the first level to 3 for your case. So your front matter could be something like:

Thank you very much @onlyafly !!!

It's working perfect !!!! this issue is closed :)

Have a great day :)

onlyafly commented 2 years ago

Forgot to close this back when I originally fixed it.