markdown-cell-highlight

Highlight markdown code cells

aviatesk

4,024

3

1.2.0

MIT

GitHub

atom markdown-cell-highlight package

A simple :atom: package to highlight code cells in markdown files; this can be useful, for example, when editing Weave files in Juno or using Hydrogen's rich (multi) language document feature, etc.

To install:

λ apm install markdown-cell-highlight

example look

ariake-dark-syntax one-light syntax
ariake-dark-example one-light-example

config

custom styling

You can have custom styles (i.e. custom colors, mostly) via your stylesheet:

.atom/styles.less

// style for cell body
.line.markdown-cell-highlight {
  background: @whatever-color-you-want-for-cell-body;
}
// style for cell gutter
.line-number.markdown-cell-highlight {
  background: @whatever-color-you-want-for-cell-gutter;
}

license

This package is under MIT License.

author