diff --git a/website/_config.yml b/website/_config.yml index a8349bc..7bc7965 100644 --- a/website/_config.yml +++ b/website/_config.yml @@ -1,4 +1,5 @@ name: Cap'n Proto for Java -markdown: rdiscount +markdown: kramdown +highlighter: rouge baseurl: /capnproto-java url: http://dwrensha.github.io/capnproto-java diff --git a/website/index.md b/website/index.md index ab42067..4bdbc5d 100644 --- a/website/index.md +++ b/website/index.md @@ -72,7 +72,7 @@ Running `sbt test` should run the test suite. We can define types in a schema like this: -``` +{% highlight capnp %} @0x9eb32e19f86ee174; using Java = import "/capnp/java.capnp"; $Java.package("org.capnproto.examples"); @@ -107,7 +107,7 @@ struct Person { struct AddressBook { people @0 :List(Person); } -``` +{% endhighlight %} Then, after running the schema compiler, we can then use those types from Java like this: