jekyll-x3d 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +43 -0
  3. metadata +48 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 97381cc7d8f3509ec64e088cf1a1d7833509071295a3c81fcd31a49ad7f272b7
4
+ data.tar.gz: ae91acfd002a2bdcdf68346a6affbd717874739897f3a69f87320b8389132192
5
+ SHA512:
6
+ metadata.gz: 630715636e41e1412dec5860b76c22d123ba01cb84daff86125d8b50cc9111b56ca017a841f55871830ad1af1de47a6d8764595cae15960e4da7f67aef1f695c
7
+ data.tar.gz: 40df683c3c4d898606da63930522b0c9c98bc0e292f1075eedd77fe872b340ae8ab5f10632f293ba0064d505160c27557cf5813c87cc152a16b3b7025d230018
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # jekyll-x3d
2
+
3
+ Adds support for X3D syntax highlighting to Jekyll. This allows developers to easily integrate and display X3D content within their Jekyll-powered websites.
4
+
5
+ ## Usage
6
+
7
+ Add the following lines to your `Gemfile`:
8
+
9
+ ```ruby
10
+ group :jekyll_plugins do
11
+ gem 'jekyll-x3d', '~> 1.0'
12
+ end
13
+ ```
14
+
15
+ After this, run `bundle install; bundle update`.
16
+
17
+ In your `_config.yml` you need to specify that you want to use `rouge` as syntax highlighter.
18
+
19
+ ```yml
20
+ kramdown:
21
+ syntax_highlighter: rouge
22
+ ```
23
+
24
+ Now you can highlight your source code in Markdown as X3D:
25
+
26
+ ``````md
27
+ ```x3d
28
+ <Script>
29
+ <![CDATA[ecmascript:
30
+ // foo
31
+ function initialize ()
32
+ {
33
+ const a = new MFString ("abc");
34
+ }
35
+ ]]>
36
+ </Script>
37
+ ```
38
+ ``````
39
+
40
+ ## See Also
41
+
42
+ * [X_ITE X3D Browser](https://create3000.github.io/x_ite/)
43
+ * [web3d.org](https://www.web3d.org)
metadata ADDED
@@ -0,0 +1,48 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-x3d
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Holger Seelig
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-12-06 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Adds support for X3D syntax highlighting to Jekyll. This allows developers
14
+ to easily integrate and display X3D content within their Jekyll-powered websites.
15
+ email:
16
+ - holger.seelig@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - README.md
22
+ homepage: https://github.com/create3000/jekyll-x3d/blob/main/README.md
23
+ licenses:
24
+ - MIT
25
+ metadata:
26
+ allowed_push_host: https://rubygems.org
27
+ homepage_uri: https://github.com/create3000/jekyll-x3d/blob/main/README.md
28
+ source_code_uri: https://github.com/create3000/jekyll-x3d/
29
+ post_install_message:
30
+ rdoc_options: []
31
+ require_paths:
32
+ - lib
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: 2.0.0
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ requirements: []
44
+ rubygems_version: 3.5.9
45
+ signing_key:
46
+ specification_version: 4
47
+ summary: X3D Syntax Highlighter
48
+ test_files: []