An open API service indexing awesome lists of open source software.

https://github.com/ishankhare07/syntax-highlighter

flask pygments and angular based syntax highlighter
https://github.com/ishankhare07/syntax-highlighter

Last synced: about 1 year ago
JSON representation

flask pygments and angular based syntax highlighter

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/ishankhare07/syntax-highlighter.svg?branch=master)](https://travis-ci.org/ishankhare07/syntax-highlighter)

# syntax-highlighter
flask pygments and angular based syntax highlighter

## Installation
* clone the repository with the following command
```shell
$ git clone git@github.com:ishankhare07/syntax-highlighter.git && cd syntax-highlighter
```
* create a python virtual environment and activate it
```shell
$ pyvenv venv && . venv/bin/activate
```
* install dependencies using pip
```shell
$ pip install -r requirements.txt
```

## Usage
* Run the server on localhost using the following command
```shell
$ python main.py
```
* Navigate to [localhost:5000](http://localhost:5000)
* Type a filename in the box with extension, and start writing code