Changeset View
Changeset View
Standalone View
Standalone View
src/markup/engine/remarkup/blockrule/PhutilRemarkupCodeBlockRule.php
| Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | if (empty($options['lang'])) { | ||||
| } | } | ||||
| $options['lang'] = $lang; | $options['lang'] = $lang; | ||||
| } | } | ||||
| $code_body = $this->highlightSource($text, $options); | $code_body = $this->highlightSource($text, $options); | ||||
| $name_header = null; | $name_header = null; | ||||
| if ($this->getEngine()->isHTMLMailMode()) { | if ($this->getEngine()->isHTMLMailMode()) { | ||||
| $header_attributes = array ( | $header_attributes = array( | ||||
| 'style' => 'padding: 6px 8px; | 'style' => 'padding: 6px 8px; | ||||
| background: #fdf5d4; | background: #fdf5d4; | ||||
| color: rgba(0,0,0,.75); | color: rgba(0,0,0,.75); | ||||
| font-weight: bold; | font-weight: bold; | ||||
| display: inline-block; | display: inline-block; | ||||
| border-top: 1px solid #f1c40f; | border-top: 1px solid #f1c40f; | ||||
| border-left: 1px solid #f1c40f; | border-left: 1px solid #f1c40f; | ||||
| border-right: 1px solid #f1c40f; | border-right: 1px solid #f1c40f; | ||||
| ▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines | |||||