neo4j-asciidoctor-extensions 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/neo4j/rouge/themes/neo.rb +45 -0
- data/lib/neo4j/rouge/themes/neo_forest.rb +47 -0
- data/neo4j-asciidoctor-extensions.gemspec +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b626381905fbdc566cc3b33c79a9b4d25c1e19b117499855e2788414b642ebfc
|
4
|
+
data.tar.gz: f8deb91ca96056010694555067bc881a941134f46f7773d33e6db22f0f3b578c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0513ca555b1fb6106be5b3e3564da63775fc129b428dfb28a90d75cda2cbedb409b0dd685c577c96bf746a8213c7433a383dea4b10872c788319ae6a5342c1b7
|
7
|
+
data.tar.gz: da20878966af3518704eba61ad82b05bdc5c3d110ead0dd386bfd5c544f91fbafe3e705a92adeabf00b56c4d1eda3ce0621d509d3d82bfe6c62728769ffa7f61
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'rouge' unless defined? ::Rouge::Lexers
|
5
|
+
|
6
|
+
module Rouge
|
7
|
+
module Themes
|
8
|
+
#
|
9
|
+
# Neo4j (default) theme
|
10
|
+
class Neo < CSSTheme
|
11
|
+
name 'neo'
|
12
|
+
|
13
|
+
style Comment::Multiline,
|
14
|
+
Comment::Preproc,
|
15
|
+
Comment::Single,
|
16
|
+
Comment::Special,
|
17
|
+
Comment, fg: '#75787b'
|
18
|
+
style Error,
|
19
|
+
Generic::Error,
|
20
|
+
Generic::Traceback, fg: '#960050'
|
21
|
+
style Keyword::Constant,
|
22
|
+
Keyword::Declaration,
|
23
|
+
Keyword::Reserved,
|
24
|
+
Name::Constant,
|
25
|
+
Keyword::Type, fg: '#1d75b3'
|
26
|
+
style Literal::String, fg: '#b35e14'
|
27
|
+
style Name::Function,
|
28
|
+
Operator, fg: '#2e383c'
|
29
|
+
style Name::Namespace,
|
30
|
+
Name::Label,
|
31
|
+
Literal::String::Delimiter,
|
32
|
+
Name::Property, fg: '#75438a'
|
33
|
+
style Name::Entity,
|
34
|
+
Name::Builtin::Pseudo,
|
35
|
+
Name::Variable::Global,
|
36
|
+
Name::Variable::Instance,
|
37
|
+
Name::Variable,
|
38
|
+
Text::Whitespace,
|
39
|
+
Text,
|
40
|
+
Name, fg: '#047d65'
|
41
|
+
style Keyword, fg: '#1d75b3'
|
42
|
+
style Literal::String::Symbol, fg: '#9c3328'
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'rouge' unless defined? ::Rouge::Lexers
|
5
|
+
|
6
|
+
module Rouge
|
7
|
+
module Themes
|
8
|
+
#
|
9
|
+
# Neo4j forest theme
|
10
|
+
class NeoForest < CSSTheme
|
11
|
+
name 'neo.forest'
|
12
|
+
|
13
|
+
style Comment::Multiline,
|
14
|
+
Comment::Preproc,
|
15
|
+
Comment::Single,
|
16
|
+
Comment::Special,
|
17
|
+
Comment, fg: '#75787b'
|
18
|
+
style Error,
|
19
|
+
Generic::Error,
|
20
|
+
Generic::Traceback, fg: '#960050'
|
21
|
+
style Name::Function,
|
22
|
+
Operator::Word,
|
23
|
+
Keyword,
|
24
|
+
Keyword::Constant,
|
25
|
+
Keyword::Declaration,
|
26
|
+
Keyword::Reserved,
|
27
|
+
Name::Constant,
|
28
|
+
Keyword::Type, fg: '#859900'
|
29
|
+
style Literal::String, fg: '#b58900'
|
30
|
+
style Literal::Number, fg: '#2aa198'
|
31
|
+
style Operator,
|
32
|
+
Name::Namespace,
|
33
|
+
Name::Label,
|
34
|
+
Literal::String::Delimiter,
|
35
|
+
Name::Property,
|
36
|
+
Name::Entity,
|
37
|
+
Name::Builtin::Pseudo,
|
38
|
+
Name::Variable::Global,
|
39
|
+
Name::Variable::Instance,
|
40
|
+
Name::Variable,
|
41
|
+
Text::Whitespace,
|
42
|
+
Text,
|
43
|
+
Name,
|
44
|
+
Literal::String::Symbol, fg: '#333333'
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-asciidoctor-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Grossetie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -141,6 +141,8 @@ files:
|
|
141
141
|
- lib/neo4j/asciidoctor/extensions/revealjs_speaker_notes_aggregator.rb
|
142
142
|
- lib/neo4j/asciidoctor/extensions/revealjs_speaker_notes_aggregator/extension.rb
|
143
143
|
- lib/neo4j/asciidoctor/extensions/stage_slug.rb
|
144
|
+
- lib/neo4j/rouge/themes/neo.rb
|
145
|
+
- lib/neo4j/rouge/themes/neo_forest.rb
|
144
146
|
- neo4j-asciidoctor-extensions.gemspec
|
145
147
|
- spec/.rubocop.yml
|
146
148
|
- spec/cypher_syntax_role_spec.rb
|