NicoNekoru / obsidan-advanced-table-xt

Plugin that adds features to tables in obsidian including merging, vertical headers, and custom css
Apache License 2.0
93 stars 3 forks source link

Set whether the plugin takes effect on the page through yaml(Advanced tables have no effect) #19

Closed zhoulonghao520 closed 11 months ago

zhoulonghao520 commented 11 months ago

I have used many Asciidoc tables in my past notes, and in the future, I would like to use your plugin and Advanced Tables to replace the original method. This way of writing is more concise. Can you modify it to support using yaml to set whether this plugin is valid for the current page? That way, I don't have to modify the original notes, You don'tneed to use this plugin through code blocks. Because Advanced Tables currently do not support running in code blocks.

If it could be used like this, it would be really perfect.

image

abiriadev commented 11 months ago

Can you modify it to support using yaml to set whether this plugin is valid for the current page?

Do you mean supporting a (yaml)frontmatter option to disable the plugin on some pages?

zhoulonghao520 commented 11 months ago

yes`````

abiriadev commented 11 months ago

@zhoulonghao520 I made a pull request for this. You can clone this repository and build it manually as a temporary workaround for now.