Closed imxood closed 1 year ago
What is a math expressiones code block ? I am not sure what you are trying to achieve here
What is a math expressiones code block ? I am not sure what you are trying to achieve here
for example:
I expect: the ``` code block is not parsed~ I expect:
$x^4$ ``` in code block is kept ~
What is the point of code block quotes then ?
What is the point of code block quotes then ?
It is one of the writing forms of markdown code block
like this:
int main(int argc, char const *argv[])
{
/* code */
return 0;
}
```
``` echo $PATH ```
``` $PATH ```
Sorry, what I meant was: what is the point of adding code blocks around Tex equations, if what you want to achieve is simply an equation ? And why should "ignore code block" in that situation be the expected behavior ?
If you want to render equation within a code block, I don't think this is possible
It should be said that the $ symbol in the code block should not be parsed
here is some $ symbol in the code block, this is parsed wrongly!
Oh I see. I should be able to fix this, I'll look into it
Oh I see. I should be able to fix this, I'll look into it
Also consider the $ symbol in the code block of tab indentation, which may be a bit difficult
thank you very much~
Any luck fixing this @lzanini ?
Should have been fixed.
This is actually not fixed for `inline code blocks`.
I see. Let me see what I can do.
This should fix inline code blocks https://github.com/lzanini/mdbook-katex/commit/5efa3869aa4d84869325c42d836349ef1a7e53d4.
Thank you !
It seems the problem still exists.
1. hello
<!-- ` -->
2. world
`$object->{'id'}`
```php
$object = $another
### `mdbook`
![Screenshot 2023-10-10 at 19 09 11](https://github.com/lzanini/mdbook-katex/assets/58146437/5c4406e1-aa7d-4c6d-9d1e-f2ba004d75de)
### GitHub
1. hello
<!-- ` -->
2. world
`$object->{'id'}`
```php
$object = $another
it is rendered wrongly in
math expressiones
code blockfor example:
it will is: