Skip to content

x-tag/code-prism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Requirements

Node / NPM

Bower (Package Manager)

npm install bower -g

Inside your project run:

bower install x-tag-code-prism

This downloads the component and dependencies to ./components

About

An element that provides Syntax highlighting based on PrismJS

Usage

<x-code-prism language="javascript">
xtag.register('x-superinput', {
  lifecycle: {
    created: function(){
      // superinputs begin life knowing they're super.
      this.value = 'super';
    }
  }
});
</x-code-prism>

About

Code highlighter element that uses Prism

Resources

Stars

Watchers

Forks

Packages

No packages published