Skip to content

Commit

Permalink
Add parse classname attribute to syntaxhighlighter block
Browse files Browse the repository at this point in the history
  • Loading branch information
renatho committed Apr 13, 2020
1 parent 291a4e1 commit 641c3ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syntaxhighlighter.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ public function enable_brushes_via_raw_html_parsing( $content ) {
*/
public function render_block( $attributes, $content ) {
$remaps = array(
'className' => 'classname',
'lineNumbers' => 'gutter',
'firstLineNumber' => 'firstline',
'highlightLines' => 'highlight',
Expand Down

0 comments on commit 641c3ca

Please sign in to comment.