obsidian-latex-suite icon indicating copy to clipboard operation
obsidian-latex-suite copied to clipboard

[FEATURE] Support code mode for inline code and block code

Open langshangyuan opened this issue 4 months ago • 1 comments

Description of the Problem

Currently, the c snippet option only works inside the ``` ... ``` codeblock. It won't expand inside the inline code block (or verbatim view) like ` ... `. I want the code snippet to expand both inside the codeblock and inline code, whose behavior is aligned with math snippet (set by the m option).

Description of the Solution

Maybe we can implement a isWithInlineCode method which is similar to the isWithInlineMath

langshangyuan avatar Feb 25 '24 23:02 langshangyuan