This commit is contained in:
Skye 2024-12-17 11:04:40 +09:00
parent e730208cf2
commit 87d3e0e5d8

View file

@ -24,7 +24,7 @@ export default definePlugin({
find: "codeBlock:{react(",
replacement: {
match: /codeBlock:\{react\((\i),(\i),(\i)\)\{/,
replace: "$&if($1.lang == 'latex') return $self.createBlock($1,$2,$3);"
replace: "$&if($1.lang == 'latex' || $1.lang == 'tex') return $self.createBlock($1,$2,$3);"
}
},
{