commonmarker 1.0.0.pre7-aarch64-linux → 1.0.0.pre9-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd52875770c8b0f4fa5bfed38a9d006d2a47aed4bd9ff6cc052d4edbc1fa0c82
4
- data.tar.gz: 5d6784a8bc93f4326a93ef5e78c585be6fbdd15f65b52028f8d709c8a279c50e
3
+ metadata.gz: ae61e22944f69e9d8fd73a075a2b225b2d3fab0cc72ab4c729401ffe71a6a5e6
4
+ data.tar.gz: 14f11c71a669044ab029ba42ad4773060f29242a03ef79678f027ee3b020329c
5
5
  SHA512:
6
- metadata.gz: 71a3c46d5fca5def605c930cb38264e3c599321d1facb8c7f81e7d10daf94efbab4f72663e95521fe7dbaf76d6af0daee52c2c3d629a3014e798761024963eab
7
- data.tar.gz: '0791d0807733a3f948aa159823167eab49b66e84dbf02e6ff6643b396c9147b6270a241377f7756fbac14ec420e5954797669d3ef2b3409b2000b2e7b21d2da7'
6
+ metadata.gz: dc518435384b58fce65163c18ec812eb66ecf4f3926bc19dc948379ce7ca748483e87d5932634cbd28284656c3b225239c1903bd1612c8770026d929d990d059
7
+ data.tar.gz: 333dadf42bcafa20e91ddcf4238b303178730d4815fc124a393df158705eac879ed0beaf093eb51e48199de7ffbc57797ee8e27bd6df29b4fb0fcd64a04d45ed
data/README.md CHANGED
@@ -131,9 +131,16 @@ Commonmarker.to_html(code, plugins: { syntax_highlighter: nil })
131
131
  Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: nil } })
132
132
  ```
133
133
 
134
+ You can also provide a `path` to a directory containing `.tmtheme` files to load:
135
+
136
+ ```ruby
137
+
138
+ Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: "Monokai", path: "./themes" } })
139
+ ```
140
+
134
141
  ##### Available themes
135
142
 
136
- Here's [a list of available themes](https://docs.rs/syntect/5.0.0/syntect/highlighting/struct.ThemeSet.html#implementations):
143
+ Here's [a list of themes available by default](https://docs.rs/syntect/5.0.0/syntect/highlighting/struct.ThemeSet.html#implementations):
137
144
 
138
145
  - `"base16-ocean.dark"`
139
146
  - `"base16-eighties.dark"`
Binary file
Binary file
@@ -35,6 +35,7 @@ module Commonmarker
35
35
  PLUGINS = {
36
36
  syntax_highlighter: {
37
37
  theme: "base16-ocean.dark",
38
+ path: "",
38
39
  },
39
40
  }
40
41
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Commonmarker
4
- VERSION = "1.0.0.pre7"
4
+ VERSION = "1.0.0.pre9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmarker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre7
4
+ version: 1.0.0.pre9
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Garen Torikian
@@ -9,23 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-01-26 00:00:00.000000000 Z
12
+ date: 2023-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rb_sys
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '0.9'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '0.9'
28
- force_ruby_platform: false
29
14
  - !ruby/object:Gem::Dependency
30
15
  name: rake
31
16
  requirement: !ruby/object:Gem::Requirement
@@ -54,20 +39,6 @@ dependencies:
54
39
  - - "~>"
55
40
  - !ruby/object:Gem::Version
56
41
  version: '1.2'
57
- - !ruby/object:Gem::Dependency
58
- name: rake-compiler-dock
59
- requirement: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - "~>"
62
- - !ruby/object:Gem::Version
63
- version: '1.2'
64
- type: :development
65
- prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - "~>"
69
- - !ruby/object:Gem::Version
70
- version: '1.2'
71
42
  description: A fast, safe, extensible parser for CommonMark. This wraps the comrak
72
43
  Rust crate.
73
44
  email:
@@ -75,17 +46,8 @@ executables: []
75
46
  extensions: []
76
47
  extra_rdoc_files: []
77
48
  files:
78
- - Cargo.lock
79
49
  - LICENSE.txt
80
50
  - README.md
81
- - ext/commonmarker/Cargo.toml
82
- - ext/commonmarker/_util.rb
83
- - ext/commonmarker/extconf.rb
84
- - ext/commonmarker/src/lib.rs
85
- - ext/commonmarker/src/options.rs
86
- - ext/commonmarker/src/plugins.rs
87
- - ext/commonmarker/src/plugins/syntax_highlighting.rs
88
- - ext/commonmarker/src/utils.rs
89
51
  - lib/commonmarker.rb
90
52
  - lib/commonmarker/3.1/commonmarker.so
91
53
  - lib/commonmarker/3.2/commonmarker.so