1
0

scss cleanup and color aggregation

This commit is contained in:
2019-11-08 15:15:58 +01:00
parent 69a478056f
commit 829738fabb
25 changed files with 664 additions and 615 deletions

View File

@@ -92,4 +92,18 @@ class ParsedownCustom extends ParsedownExtra
];
return require (__DIR__ . '/../fragments/widget_befunge93.php');
}
protected function blockTable($Line, array $Block = null)
{
// https://stackoverflow.com/a/46346412/1761622
$Block = parent::blockTable($Line, $Block);
if ($Block === null) return $Block;
if (!key_exists('element', $Block)) return $Block;
$Block['element']['attributes']['class'] = 'stripedtable';
return $Block;
}
}