YAML cssclass Export PDF

Steps to reproduce

  1. Create a custom bit of CSS and add to the snippets fold
  2. Reference custom bit of CSS with YAML cssclass
  3. Verify notes in edit/reader mode look correct
  4. Add “@media print …” with copy of custom bit of CSS
  5. Export note to PDF
  6. PDF does not reflect custom bit of CSS
  7. Edit snippet css file, remove reference to custom class (?) bit of CSS
  8. Export note to PDF
  9. PDF now reflects CSS changes correctly; however, isn’t using cssclass as referenced in YAML header

Expected result

Should see the exported PDF contain the custom cssclass changes.

Actual result

Export CSS does not reflect custom results when referenced with CSS class in YAML header.

Environment

  • Operating system: MacOS latest
  • Debug info:

SYSTEM INFO:
Obsidian version: v0.15.9
Installer version: v0.14.6
Operating system: Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 21.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 13
Plugins enabled: 13
1: PARA Shortcuts v1.0.5
2: Tasks v1.13.0
3: Calendar v1.5.10
4: Periodic Notes v0.0.17
5: Natural Language Dates v0.6.1
6: Templater v1.13.0
7: Dataview v0.5.43
8: Creases v0.6.5
9: Editor Syntax Highlight v0.1.3
10: Enhancing Mindmap v0.2.4
11: Advanced Slides v1.17.8
12: Advanced Codeblock v1.1.2
13: Note Refactor v1.7.1

RECOMMENDATIONS:
Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.


Additional information

Working: .markdown-source-view.mod-cm6.selectcheck .HyperMD-task-line[data-task=" "],.s - Pastebin.com
Not Working: .markdown-source-view.mod-cm6.selectcheck .HyperMD-task-line[data-task=" "],.s - Pastebin.com