The latex example in the docs is broken, it doesn't handle foo $tex$ bar (foo disappears). This should be mentioned, or the docs should be fixed.
I spent a while trying to get latex like $this$ working without success,
I read #1538 but solution 1 was a hack putting math inside code blocks,
and solution 2 was complex and stateful.
IMO this is the kind of thing that should be easy. I like the example in the docs except it doesn't work ):
I read #1653 but the solution seems overly complicated, I can do something like that but IMO modifying inlineText shouldn't be necessary for this.
I don't understand the codebase though so maybe this is unavoidable because of how lexing is done.
I'd be happy to contribute a fix if I figure it out, or someone explains to me :)
The latex example in the docs is broken, it doesn't handle
foo $tex$ bar(foo disappears). This should be mentioned, or the docs should be fixed.I spent a while trying to get latex like
$this$working without success,I read #1538 but solution 1 was a hack putting math inside code blocks,
and solution 2 was complex and stateful.
IMO this is the kind of thing that should be easy. I like the example in the docs except it doesn't work ):
I read #1653 but the solution seems overly complicated, I can do something like that but IMO modifying
inlineTextshouldn't be necessary for this.I don't understand the codebase though so maybe this is unavoidable because of how lexing is done.
I'd be happy to contribute a fix if I figure it out, or someone explains to me :)