paper-code-mirror

WebJar for paper-code-mirror

License

License

MIT
Categories

Categories

Github Development Tools Version Controls Mirror Application Layer Libs Introspection
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-dreammmr-paper-code-mirror
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

jar
Description

Description

paper-code-mirror
WebJar for paper-code-mirror
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/dreammmr/paper-code-mirror

Download github-com-dreammmr-paper-code-mirror

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-dreammmr-paper-code-mirror/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-dreammmr-paper-code-mirror</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-dreammmr-paper-code-mirror/
implementation 'org.webjars.bower:github-com-dreammmr-paper-code-mirror:0.1'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-dreammmr-paper-code-mirror/
implementation ("org.webjars.bower:github-com-dreammmr-paper-code-mirror:0.1")
'org.webjars.bower:github-com-dreammmr-paper-code-mirror:jar:0.1'
<dependency org="org.webjars.bower" name="github-com-dreammmr-paper-code-mirror" rev="0.1">
  <artifact name="github-com-dreammmr-paper-code-mirror" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-dreammmr-paper-code-mirror', version='0.1')
)
libraryDependencies += "org.webjars.bower" % "github-com-dreammmr-paper-code-mirror" % "0.1"
[org.webjars.bower/github-com-dreammmr-paper-code-mirror "0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

##<paper-code-mirror>

paper-code-mirror is a material design styled code editor. It's using Code Mirror plugin and RequireJS.

Live Example

##Installing with Bower

To install the component with the Bower, just run:

bower install --save paper-code-mirror

Example:

<paper-code-mirror line-numbers mode="htmlmixed" title="HTML">
    <template>
        <div class="container">
            <div class="header">
                <a href="http://google.com" target="_blank">Hello</a>
            </div>
        </div>
    </template>
</paper-code-mirror>

###<paper-code-mirror> - Properties

The following properties are available:

Property Name Description Default
value The value of the code editor ``
tabSize The width of a tab character. 4
mode The language name you are using htmlmixed
theme The theme to display the code editor material
lineNumbers Boolean property to show the line numbers or hide false
title Code editor title ``

###<paper-code-mirror> - Modes

python ruby php pascal sql clike xml javascript css vbscript htmlmixed apl asciiarmor markdown clojure cmake dart fortran haskell jade sass shell xml yaml

###<paper-code-mirror> - Themes

ambiance ambiance-mobile material blackboard cobalt eclipse elegant erlang-dark lesser-dark midnight monokai neat night rubyblue solarized twilight vibrant-ink xq-dark xq-light

Versions

Version
0.1