Skip to content

Commit 98b1941

Browse files
committed
updated
1 parent c9a89eb commit 98b1941

File tree

161 files changed

+22144
-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.

161 files changed

+22144
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "reveal-highlight-themes",
3+
"version": "8.3.0",
4+
"authors": [
5+
"Nils Winkler <nils@nilswinkler.com>"
6+
],
7+
"description": "The highlight.js syntax themes repackaged for easy usage with reveal.js",
8+
"main": "changeme.js",
9+
"keywords": [
10+
"reveal",
11+
"reveal.js",
12+
"highlight",
13+
"highlight.js",
14+
"syntax",
15+
"themes",
16+
"theme"
17+
],
18+
"license": "MIT",
19+
"homepage": "https://github.com/nwinkler/reveal-highlight-themes",
20+
"ignore": [
21+
"**/.*",
22+
"node_modules",
23+
"bower_components",
24+
"test",
25+
"tests"
26+
],
27+
"devDependencies": {
28+
"highlightjs": "=8.3.0"
29+
},
30+
"_release": "8.3.0",
31+
"_resolution": {
32+
"type": "version",
33+
"tag": "8.3.0",
34+
"commit": "e8c9b77c5a056f4eb5c7f6e1639a911928fc3b0e"
35+
},
36+
"_source": "git://github.com/nwinkler/reveal-highlight-themes.git",
37+
"_target": "~8.3.0",
38+
"_originalSource": "reveal-highlight-themes"
39+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
module.exports = function (grunt) {
2+
'use strict';
3+
4+
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
5+
6+
// Project configuration
7+
grunt.initConfig({
8+
9+
replace: {
10+
hljs: {
11+
src: ['bower_components/highlightjs/styles/*.css'],
12+
dest: 'styles/',
13+
replacements: [{
14+
from: '.hljs-',
15+
to: '.'
16+
}, {
17+
from: '.hljs',
18+
to: 'pre code'
19+
},{
20+
from: /^\./mg,
21+
to: 'pre .'
22+
}]
23+
}
24+
},
25+
26+
bump: {
27+
options: {
28+
files: [
29+
'package.json',
30+
'bower.json',
31+
'README.md'
32+
],
33+
updateConfigs: [],
34+
commit: true,
35+
commitMessage: 'Release v%VERSION% #noissue',
36+
commitFiles: ['-a'], // '-a' for all files
37+
createTag: true,
38+
tagName: '%VERSION%',
39+
tagMessage: 'Version %VERSION%',
40+
push: true,
41+
pushTo: 'origin master',
42+
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d' // options to use with '$ git describe'
43+
}
44+
}
45+
46+
});
47+
48+
// Default task
49+
grunt.registerTask('build', [
50+
'replace:hljs'
51+
]);
52+
53+
grunt.registerTask('default', [
54+
'build'
55+
]);
56+
57+
grunt.registerTask('release', [
58+
'build',
59+
'bump'
60+
]);
61+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2006, Ivan Sagalaev
2+
All rights reserved.
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are met:
5+
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of highlight.js nor the names of its contributors
12+
may be used to endorse or promote products derived from this software
13+
without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
16+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# reveal-highlight-themes
2+
3+
Version: 8.3.0
4+
5+
Bundles the [Highlight.js](http://highlightjs.org/) syntax themes in a form that allows easy integration in [Reveal.js](http://lab.hakim.se/reveal-js).
6+
7+
Reveal.js internally uses Highlight.js for syntax highlighting in code blocks, but uses a slightly different format for the CSS. This project provides the original Highlight.js themes adapted to the Reveal.js format.
8+
9+
## Installation
10+
11+
If you are using Reveal.js to create a presentation, you can include the highlight themes by running the following:
12+
13+
```
14+
bower install --save reveal-highlight-themes
15+
```
16+
17+
This will download the themes to your local `bower_components` directory (the default location).
18+
19+
You can now change the default syntax highlighting theme by adding or changing the following line in your presentation's `index.html` file:
20+
21+
```html
22+
<!-- For syntax highlighting -->
23+
<link rel="stylesheet" href="bower_components/reveal-highlight-themes/styles/monokai_sublime.css" id="highlight-theme">
24+
```
25+
26+
Simply put in the name of the desired stylesheet and your presentation should now use that instead of the default *Zenburn* syntax theme.
27+
28+
**Note**: If you are using the [Yeoman generator for Reveal.js](https://github.com/slara/generator-reveal), you need to change the stylesheet reference in the `templates/_index.html`.
29+
30+
## Credits
31+
32+
* Highlight.js: The original syntax themes are part of the [Highlight.js](http://highlightjs.org/) project. Please see the project's [license file](https://github.com/isagalaev/highlight.js/blob/master/LICENSE) for licensing information.
33+
34+
## License
35+
Copyright (c) 2014 Nils Winkler. Licensed under the MIT license.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "reveal-highlight-themes",
3+
"version": "8.3.0",
4+
"authors": [
5+
"Nils Winkler <nils@nilswinkler.com>"
6+
],
7+
"description": "The highlight.js syntax themes repackaged for easy usage with reveal.js",
8+
"main": "changeme.js",
9+
"keywords": [
10+
"reveal",
11+
"reveal.js",
12+
"highlight",
13+
"highlight.js",
14+
"syntax",
15+
"themes",
16+
"theme"
17+
],
18+
"license": "MIT",
19+
"homepage": "https://github.com/nwinkler/reveal-highlight-themes",
20+
"ignore": [
21+
"**/.*",
22+
"node_modules",
23+
"bower_components",
24+
"test",
25+
"tests"
26+
],
27+
"devDependencies": {
28+
"highlightjs": "=8.3.0"
29+
}
30+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "reveal-highlight-themes",
3+
"version": "8.3.0",
4+
"description": "The highlight.js syntax themes repackaged for easy usage with reveal.js",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "grunt test"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git://github.com/nwinkler/reveal-highlight-themes.git"
12+
},
13+
"keywords": [
14+
"reveal",
15+
"reveal.js",
16+
"highlight",
17+
"highlight.js",
18+
"syntax",
19+
"themes",
20+
"theme"
21+
],
22+
"author": "Nils Winkler <nils@nilswinkler.com>",
23+
"license": "MIT",
24+
"bugs": {
25+
"url": "https://github.com/nwinkler/reveal-highlight-themes/issues"
26+
},
27+
"homepage": "https://github.com/nwinkler/reveal-highlight-themes",
28+
"devDependencies": {
29+
"grunt": "^0.4.5",
30+
"grunt-bump": "0.0.16",
31+
"grunt-text-replace": "^0.3.12",
32+
"matchdep": "^0.3.0"
33+
}
34+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2006, Ivan Sagalaev
2+
All rights reserved.
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are met:
5+
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of highlight.js nor the names of its contributors
12+
may be used to endorse or promote products derived from this software
13+
without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
16+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
/*
2+
Date: 17.V.2011
3+
Author: pumbur <pumbur@pumbur.net>
4+
*/
5+
6+
pre code {
7+
display: block;
8+
overflow-x: auto;
9+
padding: 0.5em;
10+
background: #222;
11+
-webkit-text-size-adjust: none;
12+
}
13+
14+
pre .profile .header *,
15+
pre .ini .title,
16+
pre .nginx .title {
17+
color: #fff;
18+
}
19+
20+
pre .comment,
21+
pre .javadoc,
22+
pre .preprocessor,
23+
pre .preprocessor .title,
24+
pre .pragma,
25+
pre .shebang,
26+
pre .profile .summary,
27+
pre .diff,
28+
pre .pi,
29+
pre .doctype,
30+
pre .tag,
31+
pre .template_comment,
32+
pre .css .rules,
33+
pre .tex .special {
34+
color: #444;
35+
}
36+
37+
pre .string,
38+
pre .symbol,
39+
pre .diff .change,
40+
pre .regexp,
41+
pre .xml .attribute,
42+
pre .smalltalk .char,
43+
pre .xml .value,
44+
pre .ini .value,
45+
pre .clojure .attribute,
46+
pre .coffeescript .attribute {
47+
color: #ffcc33;
48+
}
49+
50+
pre .number,
51+
pre .addition {
52+
color: #00cc66;
53+
}
54+
55+
pre .built_in,
56+
pre .literal,
57+
pre .type,
58+
pre .typename,
59+
pre .go .constant,
60+
pre .ini .keyword,
61+
pre .lua .title,
62+
pre .perl .variable,
63+
pre .php .variable,
64+
pre .mel .variable,
65+
pre .django .variable,
66+
pre .css .funtion,
67+
pre .smalltalk .method,
68+
pre .hexcolor,
69+
pre .important,
70+
pre .flow,
71+
pre .inheritance,
72+
pre .parser3 .variable {
73+
color: #32aaee;
74+
}
75+
76+
pre .keyword,
77+
pre .tag .title,
78+
pre .css .tag,
79+
pre .css .class,
80+
pre .css .id,
81+
pre .css .pseudo,
82+
pre .css .attr_selector,
83+
pre .winutils,
84+
pre .tex .command,
85+
pre .request,
86+
pre .status {
87+
color: #6644aa;
88+
}
89+
90+
pre .title,
91+
pre .ruby .constant,
92+
pre .vala .constant,
93+
pre .parent,
94+
pre .deletion,
95+
pre .template_tag,
96+
pre .css .keyword,
97+
pre .objectivec .class .id,
98+
pre .smalltalk .class,
99+
pre .lisp .keyword,
100+
pre .apache .tag,
101+
pre .nginx .variable,
102+
pre .envvar,
103+
pre .bash .variable,
104+
pre .go .built_in,
105+
pre .vbscript .built_in,
106+
pre .lua .built_in,
107+
pre .rsl .built_in,
108+
pre .tail,
109+
pre .avrasm .label,
110+
pre .tex .formula,
111+
pre .tex .formula * {
112+
color: #bb1166;
113+
}
114+
115+
pre .yardoctag,
116+
pre .phpdoc,
117+
pre .dartdoc,
118+
pre .profile .header,
119+
pre .ini .title,
120+
pre .apache .tag,
121+
pre .parser3 .title {
122+
font-weight: bold;
123+
}
124+
125+
pre .coffeescript .javascript,
126+
pre .javascript .xml,
127+
pre .tex .formula,
128+
pre .xml .javascript,
129+
pre .xml .vbscript,
130+
pre .xml .css,
131+
pre .xml .cdata {
132+
opacity: 0.6;
133+
}
134+
135+
pre code,
136+
pre .subst,
137+
pre .diff .chunk,
138+
pre .css .value,
139+
pre .css .attribute {
140+
color: #aaa;
141+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy