Skip to content

Commit e9e604e

Browse files
committed
use prism-tomorrow.css
1 parent 0f00bca commit e9e604e

File tree

1,747 files changed

+100462
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,747 files changed

+100462
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = false
5+
charset = utf-8
6+
indent_style = tab
7+
indent_size = 4
8+
9+
[tests/languages/**.test]
10+
end_of_line = crlf
11+
12+
[{package.json,.travis.yml}]
13+
indent_style = space
14+
indent_size = 2
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto
2+
3+
# Test files should not have their line endings modified by git
4+
/tests/languages/**/*.test binary
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
hide-*.js
2+
node_modules
3+
.idea/
4+
.DS_Store
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.idea
2+
*.iml
3+
4+
hide-*.js
5+
6+
CNAME
7+
examples/
8+
img/
9+
templates/
10+
tests/
11+
vendor/
12+
*.tgz
13+
*.html
14+
style.css
15+
favicon.png
16+
logo.svg
17+
bower.json
18+
composer.json
19+
download.js
20+
examples.js
21+
gulpfile.js
22+
prefixfree.min.js
23+
utopia.js
24+
code.js
25+
.editorconfig
26+
.gitattributes
27+
.travis.yml
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: node_js
2+
node_js:
3+
- '4'
4+
- '6'
5+
- '8'
6+
- '9'
7+
# Build all branches
8+
branches:
9+
only:
10+
- gh-pages
11+
- /.*/
12+
before_script:
13+
- npm install -g gulp
14+
- gulp
15+
script: npm test
16+
deploy:
17+
provider: npm
18+
email: lea@verou.me
19+
api_key:
20+
secure: TjRcXEr7Y/9KRJ4EOEQbd2Ij8hxKj8c/yOpEROy2lTYv6QH9x46nFDgZEE3VHfp/nnBUYpC47dRaSxiUj8H5rtkMNCZrREZu1n1zahmzP6dI6kCj+H3GiY7yw/Jhdx3uvQZHwknW2TJ/YRsLeQsmMSG2HnJobY9Zn4REX5ccP2E=
21+
on:
22+
tags: true
23+
repo: PrismJS/prism

docs/_style/prism-master/CHANGELOG.md

Lines changed: 1334 additions & 0 deletions
Large diffs are not rendered by default.

docs/_style/prism-master/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prismjs.com

docs/_style/prism-master/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT LICENSE
2+
3+
Copyright (c) 2012 Lea Verou
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

docs/_style/prism-master/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# [Prism](http://prismjs.com/)
2+
3+
[![Build Status](https://travis-ci.org/PrismJS/prism.svg?branch=master)](https://travis-ci.org/PrismJS/prism)
4+
5+
Prism is a lightweight, robust, elegant syntax highlighting library. It's a spin-off project from [Dabblet](http://dabblet.com/).
6+
7+
You can learn more on http://prismjs.com/.
8+
9+
Why another syntax highlighter?: http://lea.verou.me/2012/07/introducing-prism-an-awesome-new-syntax-highlighter/#more-1841
10+
11+
More themes for Prism: https://github.com/PrismJS/prism-themes
12+
13+
## Contribute to Prism!
14+
15+
Prism depends on community contributions to expand and cover a wider array of use cases. If you like it, considering giving back by sending a pull request. Here are a few tips:
16+
17+
- Read the [documentation](http://prismjs.com/extending.html). Prism was designed to be extensible.
18+
- Do not edit `prism.js`, it’s just the version of Prism used by the Prism website and is built automatically. Limit your changes to the unminified files in the components/ folder. The minified files are also generated automatically.
19+
- The build system uses [gulp](https://github.com/gulpjs/gulp) to minify the files and build `prism.js`. Having gulp installed, you just need to run the command `gulp`.
20+
- Please follow the code conventions used in the files already. For example, I use [tabs for indentation and spaces for alignment](http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/). Opening braces are on the same line, closing braces on their own line regardless of construct. There is a space before the opening brace. etc etc.
21+
- Please try to err towards more smaller PRs rather than few huge PRs. If a PR includes changes I want to merge and changes I don't, handling it becomes difficult.
22+
- My time is very limited these days, so it might take a long time to review longer PRs (short ones are usually merged very quickly), especially those modifying the Prism Core. This doesn't mean your PR is rejected.
23+
- If you contribute a new language definition, you will be responsible for handling bug reports about that language definition.
24+
- If you add a new language definition, theme or plugin, you need to add it to `components.json` as well and rebuild Prism by running `gulp`, so that it becomes available to the download build page.
25+
26+
Thank you so much for contributing!!
27+
28+
## Translations
29+
30+
* [![中文说明](http://awesomes.oss-cn-beijing.aliyuncs.com/readme.png)](http://www.awesomes.cn/repo/PrismJS/prism)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "prism",
3+
"main": [
4+
"prism.js",
5+
"themes/prism.css"
6+
],
7+
"homepage": "http://prismjs.com",
8+
"authors": "Lea Verou",
9+
"description": "Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.",
10+
"license": "MIT",
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/PrismJS/prism.git"
14+
},
15+
"ignore": [
16+
"**/.*",
17+
"img",
18+
"templates",
19+
"tests",
20+
"CNAME",
21+
"*.html",
22+
"style.css",
23+
"favicon.png",
24+
"logo.svg",
25+
"download.js",
26+
"prefixfree.min.js",
27+
"utopia.js",
28+
"code.js"
29+
]
30+
}

0 commit comments

Comments
 (0)