first commit

This commit is contained in:
2025-11-20 14:44:35 +08:00
commit 91f70ed69c
839 changed files with 207385 additions and 0 deletions
+1994
View File
File diff suppressed because it is too large Load Diff
+19
View File
@@ -0,0 +1,19 @@
<?php
require_once 'Parsedown.php';
class ParsedownExtra extends Parsedown {
protected function blockQuote($Line) {
// Îáðàáîòêà äèàëîãîâ
if (preg_match('/^—\s+/', $Line['text'])) {
return array(
'element' => array(
'name' => 'div',
'attributes' => array('class' => 'dialogue'),
'text' => ltrim($Line['text'], '— ')
)
);
}
return parent::blockQuote($Line);
}
}