obsidian-things icon indicating copy to clipboard operation
obsidian-things copied to clipboard

YAML Syntax Highlighting is Not Working

Open JHHomeAssistant opened this issue 3 years ago • 2 comments

Screen Shot 2022-02-03 at 5 03 32 PM

JHHomeAssistant avatar Feb 03 '22 22:02 JHHomeAssistant

Thanks for creating the issue. I was not able to reproduce in dark mode. Can you confirm if you have any custom font settings and that the YAML frontmatter begins on the first line in the file?

Screen Shot 2022-02-11 at 10 52 18 AM

I appreciate the issue submission as it did inspire me to update the syntax highlighting in light mode, if that's of any value to you :) Screen Shot 2022-02-11 at 10 53 49 AM

colineckert avatar Feb 11 '22 18:02 colineckert

Hi Colin, I created a minimal vault (create new vault, add theme, create one file with the frontmatter) that shows the described behavior. Maybe that helps in debugging or finding out what's wrong. Screenshot 2022-03-15 at 15 30 32

Issue-44.zip

mr-wunderlich avatar Mar 15 '22 14:03 mr-wunderlich

Hello! Closing this issue as it should have resolved itself with Obsidian v1 and Things v2. Cheers!

colineckert avatar Mar 10 '23 18:03 colineckert