8000 [Bug] Slight incompatability with "floating toc" plugin · Issue #376 · SlRvb/Obsidian--ITS-Theme · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug] Slight incompatability with "floating toc" plugin #376
Open
@0Andras

Description

@0Andras

Describe the bug

Not a huge deal, and likely quite specific, but when using the "floating toc" plugin with this theme, and a CSS snippet to make hierarchical numbered lists for Reading mode, it behaves unexpectedly and adds a 0, when there isn't supposed to be one. This hasn't occurred with any other theme.

Expected behavior
For the numbers to be assigned correctly, i.e. top level (parent) list numbers are used in front of their children, without a 0 being present.

To Reproduce

Steps to reproduce the behavior:

  1. Use the ITS Theme, settings don't matter.
  2. Use the "floating toc" plugin.
  3. Use this CSS snippet.
    • I personally made the following modification to every line in the snippet: )". ", replacing ) "\A0".
  4. Reload Obsidian and turn on the snippet and the plugin.
  5. Make a numbered list in Obsidian, with a heading anywhere in the same note, and go into Reading mode.

Screenshots

Image

Mode

What mode(s) does the bug occur? Select all that apply.

  • Source Mode
  • Live Preview
  • Reading Mode

OS

Where does the bug occur?

  • Desktop
  • Mobile

Versions

  • Obsidian Version: 1.8.10
  • ITS Theme Version: 1.3.38
  • Using ITS Snippet:

Additional context

Hasn't happened with any other theme, and only happens if there is a heading in the note. Not a big issue, but I figured it'd be worth noting regardless. Confirmed via fresh Obsidian Vault. Also tested whether the zero would appear on the parents if the first counter was instead counters, which it did.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Hiatus

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0