8.5.0 • Published 7 years ago

@npmcorp/pui-css-code v8.5.0

Weekly downloads
12
License
MIT
Repository
github
Last release
7 years ago

@npmcorp/pui-css-code

A CSS code component that can be installed via this npm package. The package provides all of the CSS you need to use the component.

By default, code blocks will not have syntax highlighting. To enable this, use the PUI PrismJS package. It is a wrapper around Prism.

npm install pui-prismjs

You will also need to include a Prism theme.

npm install prismjs-default-theme
# or
npm install prismjs-okaidia-theme

Installation

To install the package, from the command line, type:

npm install pui-css-code

Usage

<pre class="pre-unstyled"><code>class Foo
  def bar
    puts 'hi'
  end
end</code></pre>

You can find more examples of the code component in the pui style guide


This is a component of Pivotal UI. It is a Pivotal specific implementation of Bootstrap.

Styleguide Github

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

8.5.0

7 years ago

6.4.0

8 years ago

6.2.1

8 years ago

6.2.0

8 years ago

6.1.0

8 years ago

5.4.0

8 years ago

5.2.0

8 years ago

5.1.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago