Skip to content

Bug: code block reference breaks pdf export #355

@VikKorobov

Description

@VikKorobov

Using a code block with a reference to an external resource just as described in your documentation breaks the native export on obsidian. Any document using such references simple isn't exportable.

Steps to reproduce

  1. create a new note
  2. add a code reference block referencing any Github resource
  3. wait for render
  4. try to export using default export function
  5. do not profit

Tried to disable all .css snippets and all other used plugins with no positive impact or change in behavior.
Tried running Obsidian in admin mode.

Example use leading to issue:

link: https://github.com/mayurankv/Obsidian-Code-Styler/blob/main/README.md

Expected behaviour

A fresh new .pdf is created containing the code pulled from the external source beeing beatifully styled by your otherwise very great plugin.

Current behaviour

Image

Environment

  • Plugin Version: 1.1.7
  • Obsidian Version: 1.11.5
  • Platform: Desktop
  • OS: Windows 11 Home 25H2
  • Theme: Default (Dark)
  • CSS Snippets: None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions