Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work for code blocks #33

Open
3 of 7 tasks
xarx00 opened this issue Mar 7, 2024 · 0 comments
Open
3 of 7 tasks

Does not work for code blocks #33

xarx00 opened this issue Mar 7, 2024 · 0 comments

Comments

@xarx00
Copy link

xarx00 commented Mar 7, 2024

Check for existing bug reports before submitting.

  • 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
  • Windows

Obsidian Version Check

1.5.8

Plugin Version

1.2.2

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant