Makes header bold.
195449
private function setBoldLabels()
    {
        $this->getActiveSheet()->getStyle(
            sprintf(
                '%s1:%s1',
                reset($this->headerColumns),
                end($this->headerColumns)
            )
        )->getFont()->setBold(true);
    }
931470
def _AddHeader(self, fp):
    
    text = textwrap.wrap(
        textwrap.dedent(self.config_header), break_on_hyphens=False)
    fp.write('\n'.join(['# ' + line for line in text]))
    fp.write('\n\n')
580418
def information_title_header_element(feature, parent):
    """"""
    _ = feature, parent  # NOQA
    header = information_title_header['string_format']
    return header.capitalize()
665139
def legend_title_header_element(feature, parent):
    """"""
    _ = feature, parent  # NOQA
    header = legend_title_header['string_format']
    return header.capitalize()
605828
public void setHeaderMargin(int l, int t, int r, int b) {
        mHeader.setMargin(l, t, r, b);
    }
821146
def to_header(self):
        """"""
        result = []
        for value, quality in self:
            if quality != 1:
                value = '%s;q=%s' % (value, quality)
            result.append(value)
        return ','.join(result)
1156007
public function css($header = true) {
        $out = '';
        if (count($this->errors) > 0) {
            if ($header)
                $out .= '<style type="text/css" media="screen">';
            $out .= "#" . implode(", #", array_keys($this->errors)) . " { {$this->style} }";
            if ($header)
                $out .= '</style>';
        }
        echo $out;
    }
748143
def header(msg, *args, **kwargs):
    ''''''
    msg = ' '.join((yellow(HEADER), white(msg), yellow(HEADER)))
    echo(msg, *args, **kwargs)
902324
def WriteHeader(self):
    """"""
    self._column_widths = {}
    bold = self._workbook.add_format({'bold': True})
    bold.set_align('center')
    for index, field_name in enumerate(self._fields):
      self._sheet.write(self._current_row, index, field_name, bold)
      self._column_widths[index] = len(field_name) + 2
    self._current_row += 1
    self._sheet.autofilter(0, len(self._fields) - 1, 0, 0)
    self._sheet.freeze_panes(1, 0)
271383
def beautify_headers(headers)
      headers.inject({}) { |out, (key, value)| out[key.gsub(/-/, '_').downcase.to_sym] = value; out }
    end
851746
function styleItalic(sq) {
  if (sq.hasFormat('i') || sq.hasFormat('em')) {
    sq.changeFormat(null, {tag: 'i'});
  } else if (!sq.hasFormat('a') && !sq.hasFormat('PRE')) {
    if (sq.hasFormat('code')) {
      sq.changeFormat(null, {tag: 'code'});
    }
    sq.italic();
  }
}
708152
def header(self, text, level, raw=None):
        
        return '\n{0}\n{1}\n'.format(text,
                                     self.hmarks[level] * column_width(text))
421612
def print_with_header(header, message, color, indent=0):
    
    print()
    padding = ' ' * indent
    print(padding + color + BOLD + header + ENDC + color + message + ENDC)
342938
public void setHeaderFont(String font_family, int font_size) {
        this.headerLabel
                .setStyle("-fx-font-family: \"" + font_family + "\";"
                        + "-fx-font-size:" + Integer.toString(font_size) + "px;");
    }
842497
function styleBold(sq) {
  if (sq.hasFormat('b') || sq.hasFormat('strong')) {
    sq.changeFormat(null, {tag: 'b'});
  } else if (!sq.hasFormat('a') && !sq.hasFormat('PRE')) {
    if (sq.hasFormat('code')) {
      sq.changeFormat(null, {tag: 'code'});
    }
    sq.bold();
  }
}
1007593
function (logLevel) {
            return chalk.bgHex(logLevel.label.bgColor).hex(logLevel.label.color).bold;
        }
186657
def bold(*content, sep=' '):
    
    return _md(_join(*content, sep=sep), symbols=MD_SYMBOLS[0])