vscode-markdown icon indicating copy to clipboard operation
vscode-markdown copied to clipboard

Support add physics package,

Open dualer opened this issue 3 years ago • 7 comments

Proposal

latex package physics contains many useful commands, such as \bra,\pdv,\fdv,\dd, is it possible to add this package into markdown document? I have some try, e.g.

header-includes: |
  \usepackage{physics}

but it never works.

References

dualer avatar Dec 10 '21 13:12 dualer

Thanks for the feedback.

The math support is provided by KaTeX, you can open a feature request there.

Also you may find markdown.extension.katex.macros helpful.

yzhang-gh avatar Dec 10 '21 14:12 yzhang-gh

Thanks for your prompt reply. Katex doesn't seems to support physics package. I know markdown.extension.katex.macros.

dualer avatar Dec 10 '21 14:12 dualer

For exmple, how to def. \dd[2] x?

dualer avatar Dec 10 '21 14:12 dualer

Looks like we discussed this question before: #977

Lemmingh avatar Dec 10 '21 15:12 Lemmingh

😅

yzhang-gh avatar Dec 10 '21 16:12 yzhang-gh

Sorry, I don’t remember exactly. I haven’t written markdown document in vscode in a long time. Is there any progress for this question?

dualer avatar Dec 10 '21 16:12 dualer

Unfortunately, no. The problem still exists.

We have to either wait for KaTeX, or explore MathJax 3.

Lemmingh avatar Dec 10 '21 16:12 Lemmingh