Adds support for VRML syntax highlighting to Jekyll. This allows developers to easily integrate and display X3D content within their Jekyll-powered websites.
Add the following lines to your Gemfile
:
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.
kramdown:
syntax_highlighter: rouge
Now you can highlight your source code in Markdown as VRML:
```vrml
#X3D V4.0 utf8
PROFILE Interchange
Transform {
children Shape {
appearance Appearance {
material Material { }
}
geometry Box { }
}
}
```