Skip to main content

Formats code as an editor-esque (Sublime, VS Code) block

Project description

.. image::

.. image::

.. image::

(if these look broken it's probably because they're connected to ``master`` branch; click through to the current release or ``dev`` results)


This generates a block formatted like current editors (Sublime, VS Code) via some opinionated markup decorating Pygments.

.. contents::





`v0` only includes Monokai support. Eventually I'm going to add a few other defaults and ``.tmTheme`` parsing. Right now I'm just trying to finish a blog post I started three weeks ago that's now spawned three Python packages.


These are things that I'd like to add but don't haven't added yet. It's not a roadmap; I don't have a release schedule.

* Logging
* ``less`` instead of ``css``
* ``tmTheme`` parsing
* font conversion
* examples
* pygit2
* parse repo for remote to build links
* remote parsing, i.e. ``load_from_url``

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wotw-highlighter-0.3.0.tar.gz (10.3 kB view hashes)

Uploaded source

Built Distribution

wotw_highlighter-0.3.0-py2.py3-none-any.whl (14.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page