An open API service indexing awesome lists of open source software.

https://github.com/create3000/jekyll-vrml

Adds support for VRML syntax highlighting to Jekyll. This allows developers to easily integrate and display X3D content within their Jekyll-powered websites.
https://github.com/create3000/jekyll-vrml

highlighter jekyll vrml x3d

Last synced: about 1 month ago
JSON representation

Adds support for VRML syntax highlighting to Jekyll. This allows developers to easily integrate and display X3D content within their Jekyll-powered websites.

Awesome Lists containing this project

README

        

# jekyll-vrml

[![Gem Version](https://badge.fury.io/rb/jekyll-vrml.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/jekyll-vrml)

Adds support for VRML syntax highlighting to Jekyll. This allows developers to easily integrate and display X3D content within their Jekyll-powered websites.

## Usage

Add the following lines to your `Gemfile`:

```ruby
group :jekyll_plugins do
gem 'jekyll-vrml', '~> 2.2'
end
```

After this, run `bundle install; bundle update`.

In your `_config.yml` you need to specify that you want to use `rouge` as syntax highlighter.

```yml
kramdown:
syntax_highlighter: rouge
```

Now you can highlight your source code in Markdown as VRML:

``````md
```vrml
#X3D V4.0 utf8

PROFILE Interchange

Transform {
children Shape {
appearance Appearance {
material Material { }
}
geometry Box { }
}
}
```
``````

## See Also

* [jekyll-x3d](https://github.com/create3000/jekyll-x3d)
* [X_ITE X3D Browser](https://create3000.github.io/x_ite/)
* [web3d.org](https://www.web3d.org)