mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
misc
This commit is contained in:
parent
a1da8bd12f
commit
7e68a485f2
1 changed files with 0 additions and 2 deletions
|
|
@ -61,8 +61,6 @@ export const extractCodeFromRegular = (result: string) => {
|
|||
// 1. ```language\n<code>```
|
||||
// 2. ```<code>```
|
||||
|
||||
// 4 <PRE> A
|
||||
// 3. <PRE> A </PRE><MID> B </MID> -> B
|
||||
const match = result.match(/```(?:\w+\n)?([\s\S]*?)```|```([\s\S]*?)```/);
|
||||
|
||||
if (!match) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue