Skip to content

Commit

Permalink
添加h标签的id“
Browse files Browse the repository at this point in the history
  • Loading branch information
ckeyer committed Aug 29, 2015
1 parent c3011bf commit 02220ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/third_party/parsedown/Parsedown.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ protected function blockHeader($Line)
'name' => 'h' . min(6, $level),
'text' => $text,
'handler' => 'line',
'attributes' => array(
'id' => $text,
),
),
);

Expand Down

0 comments on commit 02220ce

Please sign in to comment.