feat: replace all :::dart code fence markers with :::wren in documentation

Add a custom Pygments lexer plug-in for Wren syntax highlighting, update contributing docs with setup instructions for the lexer, and switch every `:::dart` annotation across all doc/site markdown files to `:::wren` so code examples render with the correct language grammar.
This commit is contained in:
Bob Nystrom
2015-09-22 14:59:54 +00:00
parent 2544aa74d8
commit 6bda720b71
34 changed files with 294 additions and 198 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ The name of the class.
The superclass of this class.
:::dart
:::wren
class Crustacean {}
class Crab is Crustacean {}
@@ -19,10 +19,10 @@ The superclass of this class.
A class with no explicit superclass implicitly inherits Object:
:::dart
:::wren
System.print(Crustacean.supertype) // "Object".
Object forms the root of the class hierarchy and has no supertype:
:::dart
:::wren
System.print(Object.supertype) // "null".