Skip to content

Commit 641c3ca

Browse files
author
Renatho De Carli Rosa
committed
Add parse classname attribute to syntaxhighlighter block
1 parent 291a4e1 commit 641c3ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntaxhighlighter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ public function enable_brushes_via_raw_html_parsing( $content ) {
500500
*/
501501
public function render_block( $attributes, $content ) {
502502
$remaps = array(
503+
'className' => 'classname',
503504
'lineNumbers' => 'gutter',
504505
'firstLineNumber' => 'firstline',
505506
'highlightLines' => 'highlight',

0 commit comments

Comments
 (0)