Skip to content

Conflict with Automatic Table of Contents plugin causes missing Code Block Label in PDF export #155

@adec-t-tanaka

Description

@adec-t-tanaka

I encountered an issue when using CodeBlockCustomizer together with the “Obsidian Automatic Table of Contents” plugin.

When both plugins are enabled,
the table of contents (generated via table-of-contents) is displayed correctly in the preview/editor.

Image Image

However, when exporting the note to PDF,
the code block label does not appear in the output.

Image

Steps to reproduce:

  1. Install and enable:
  2. Add a TOC block like this:
Image
  1. Confirm that the TOC renders correctly in preview mode
  2. Export the note to PDF

Expected behavior:

The code block label should be included in the PDF output.

Image

Actual behavior:

The code block label is missing in the exported PDF.

Image

Notes:

delete table-of-contents resolves the issue.

Environment:

Obsidian version: 1.12.4
CodeBlockCustomizer version: 1.4.3
Automatic Table of Contents version: 1.8.0
OS: Windows 11 Pro

Thank you for make great plugin!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions