Socket
Book a DemoInstallSign in
Socket

pui-css-code

Package Overview
Dependencies
Maintainers
20
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pui-css-code

code css component for Pivotal UI based on Bootstrap

latest
Source
npmnpm
Version
8.3.3
Version published
Maintainers
20
Created
Source

pui-css-code

A CSS code component that can be installed via this npm package. This 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:

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, a collection of React and CSS components for rapidly building and prototyping UIs.

Styleguide Github npm

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

Keywords

bootstrap

FAQs

Package last updated on 22 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts