Obsidian-Code-Styler
Obsidian-Code-Styler copied to clipboard
Bug: Icons are not loading
Describe the bug
I have not been able to get the icon to load when using this plugin. I have tried on a fresh vault but it never loads.
Steps to reproduce
- Create new fresh vault
- Install Obsidian Code Styler
- Insert the code block
```python title:Circle
circle = Circle() # create a circle
circle.set_fill(PINK, opacity=0.5) # set the color and transparency
```
Expected behaviour
Something smilar to this:
Current behaviour
Code block loaded and formatted but without an icon
Environment
- Plugin Version: 1.1.7
- Obsidian Version: 1.6.7
- Platform: Desktop
- OS:
- Theme: Obsidian Default theme
- CSS Snippets: None
Its not a bug, it's just that the default setting doesn't match the description on the README.
To display the icons go to:
settings > Code Styler > Choose Settings Page and select "Codeblock Stylling"
Under the sample codeblock choose:
Choose Codeblock Setting > Codeblock Header
Under the Header Language Icon Appearance change the:
Display Header Language Icons > "If Header Shown" or "Always"
There is no more settings under "Header Apperance"
Is that a bug?
That is indeed a bug. Very sorry, try deleting your data.json in the plugin settings. Doing a large refactor at the moment so this should be updated soon.
@geovanedias thanks for the correction on the README, will try and update that. I thought the default settings should be as unintrusive as possible, does that make sense?