superle3

Results 99 comments of superle3

It seems to be a bug on either Obsidian's side or Mathjax side? I am not sure which one but calling `window.Mathjax.tex2chtml("\\set{")` causes an error that causes the whole preview...

Is your snippet trigger space? and have you tried the fix of #52?

I think a setting where you can add your own text macros and math fonts is the best option. I can't think of a better compromise. The setting itself could...

```js const snippet = {trigger: /(\d+)([\n\s.,?!:'])/, replacement: "${}[[0]]{}$[[1]]", options: "tAw"} ``` should work. [[0]] gets replaced before the tabstops syntax gets converted, so you get `$23$` for example. `$` cannot...

`\arccsc` and `\arcsec` are not in the default snippets since they also don't work, but I can add them.

Hi, mod is also short for modulus, the length/magnitude of a complex number. For physics (the authors major) modulus is used more. I am not the author or a maintainer...

While implementing #443, I noticed that the parameter `keyPressed` is a string and not `undefined` regardless if its automatic, visual, or using the snippetTrigger. Is this intentional? For autofraction the...

They do. https://github.com/mathjax/MathJax-src/blob/master/ts/input/tex/base/BaseMappings.ts It's the last map called not_remap. Yeah wasn't sure how to implement bug/hack free yet. First thought was to add another variable to the conceal_maps.ts with format...

using `not[ \t]*\\${command}` instead. Obsidian doesn't like it when newlines get concealed. May come back to it, but don't think its important. edit: https://discuss.codemirror.net/t/preferred-way-to-create-multi-line-widget/4865/3 yeah thats not worth bothering.

okay I think I have tracked down all the commands that can be concealed with the current format. I also added inf back in since https://github.com/artisticat1/obsidian-latex-suite/issues/101 doesn't happen anymore, because...