obsidian-markdown-attributes
obsidian-markdown-attributes copied to clipboard
Does not work for code blocks
Check for existing bug reports before submitting.
- [X] I searched for existing Bug Reports and found no similar reports.
Expected Behavior
I added a class attribute to a mermaid block
```mermaid { .ttest }
I expect the string "ttest" to be found somewhere in the exported HTML source. As like as when I add this class e.g. to a list item. This should work according to the documentation: https://plugins.javalent.com/Markdown+Attributes/Code+Blocks+and+Block+Quotes
Current behaviour
"ttest" cannot be found anywhere in the exported HTML source. Hence I deduce that on code blocks this plugin doesn't work.
Reproduction
See Expected Behavior. I export the HTML using the "Webpage HTML Export" plugin. (All other plugins are off.) In the browser in the right-click menu I choose View Page Source.
Which Operating Systems are you using?
- [ ] Android
- [ ] iPhone/iPad
- [ ] Linux
- [ ] macOS
- [X] Windows
Obsidian Version Check
1.5.8
Plugin Version
1.2.2
Confirmation
- [X] I have disabled all other plugins and the issue still persists.
Possible solution
No response