try to fix website syntax highlighting

This commit is contained in:
David Renshaw 2017-06-30 22:08:20 -04:00
parent 1dba9efee1
commit 633b1f6199
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,5 @@
name: Cap'n Proto for Java name: Cap'n Proto for Java
markdown: rdiscount markdown: kramdown
highlighter: rouge
baseurl: /capnproto-java baseurl: /capnproto-java
url: http://dwrensha.github.io/capnproto-java url: http://dwrensha.github.io/capnproto-java

View file

@ -72,7 +72,7 @@ Running `sbt test` should run the test suite.
We can define types in a schema like this: We can define types in a schema like this:
``` {% highlight capnp %}
@0x9eb32e19f86ee174; @0x9eb32e19f86ee174;
using Java = import "/capnp/java.capnp"; using Java = import "/capnp/java.capnp";
$Java.package("org.capnproto.examples"); $Java.package("org.capnproto.examples");
@ -107,7 +107,7 @@ struct Person {
struct AddressBook { struct AddressBook {
people @0 :List(Person); people @0 :List(Person);
} }
``` {% endhighlight %}
Then, after running the schema compiler, Then, after running the schema compiler,
we can then use those types from Java like this: we can then use those types from Java like this: