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.
18 lines
293 B
Python
18 lines
293 B
Python
"""
|
|
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
|
|
'''
|
|
) |