Skip to content

[Bug] Custom heading color is not applied in previews. #365

@Ali-C-Ila

Description

@Ali-C-Ila

Describe the bug
Custom heading color is not applied in previews. Instead, headings are in the original bland color.

To Reproduce
Steps to reproduce the behavior:
0. Load the theme and Style Settings plugin in a sandbox vault.

  1. Turn on "Custom heading color"
  2. type " ## heading" (It should be colorful based on the color scheme)
  3. preview said heading in outline pane/ backlink pane/ anywhere
  4. See error

Expected behavior
Said heading is the same color as in edit/reading mode

Screenshots

Image

Additional context
SYSTEM INFO:
Obsidian version: v1.9.12
Installer version: v1.8.9
Operating system: Windows 11 Home 10.0.26100
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: AnuPpuccin v1.5.0
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Style Settings v1.0.9

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