Skip to content

Instantly share code, notes, and snippets.

View mandiwise's full-sized avatar

Mandi Wise mandiwise

  • Edmonton, Canada
View GitHub Profile
@mandiwise
mandiwise / lexer.py
Created April 5, 2021 19:29
Mostly working JSX lexer for Pygments
# -*- coding: utf-8 -*-
"""
pygments.lexers.jsx
~~~~~~~~~~~~~~~~~~~~
Lexers for JSX formats.
Based on https://github.com/fcurella/jsx-lexer
"""
import re
@mandiwise
mandiwise / db.json
Created April 29, 2021 02:04
Sample book, author, and user data to be use with JSON Server.
{
"authors": [
{
"name": "Chinua Achebe",
"id": 1
},
{
"name": "Douglas Adams",
"id": 2
},