ozavodny / obsidian-copy-inline-code-plugin

GNU General Public License v3.0
26 stars 7 forks source link

Request for Enhancement: Harmonizing Copy Inline Plugin with DataView Plugin #12

Open eumenr opened 7 months ago

eumenr commented 7 months ago

I've been enjoying the seamless functionality of the Copy Inline plugin in Obsidian, which significantly enhances the user experience. However, I've noticed a slight hiccup when using it alongside the DataView plugin, which is also incredibly helpful. Specifically, when employing DataView's Inline JavaScript Queries or Inline Queries, such as `=sum(this.field)/length(this.field) 📋`, the presence of the 📋 character seems to disrupt the parsing process. Given the excellent performance of both plugins individually, I'm hopeful that this minor conflict can be resolved to ensure smoother integration between them. Your dedication to improving Obsidian's functionality is truly commendable, and I appreciate your attention to this matter. Thank you!

eumenr commented 7 months ago

Suggestion for Improved Compatibility between Copy Inline Plugin Versions

I wanted to share a tip regarding compatibility between the Copy Inline plugin versions, specifically versions 1.1.2 and 1.2.0, when used alongside the DataView plugin in Obsidian. In version 1.1.2, a workaround was available by modifying the 'code' to 'kbd' in the main.js file. This adjustment allowed for harmonious coexistence between the two plugins, enabling the use of <kbd></kbd> tags in Markdown notes. However, it's worth noting that this workaround is no longer applicable in version 1.2.0. While this solution may no longer be viable, I hope it provides insight for further improvements to ensure smoother integration between plugin versions. Thank you for considering this suggestion.