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
+18
View File
@@ -0,0 +1,18 @@
"""
A Pygments lexer for Wren.
"""
from setuptools import setup
__author__ = 'Robert Nystrom'
setup(
name='Wren',
version='1.0',
description=__doc__,
author=__author__,
packages=['wren'],
entry_points='''
[pygments.lexers]
wrenlexer = wren:WrenLexer
'''
)