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

https://github.com/drogonframework/drogon-csp-language

CSP language support for Visual Studio Code
https://github.com/drogonframework/drogon-csp-language

Last synced: 10 months ago
JSON representation

CSP language support for Visual Studio Code

Awesome Lists containing this project

README

          

# Drogon CSP

This extenstion adds syntax highlighting support for [Drogon Web Framework](https://github.com/an-tao/drogon)'s generic CSP templating system.

## Features

CSP (C++ Server Pages) is Drogon's generic text templating system. Though commonly used for generating HTML. It's really generic and capable of generating other text files. For example, JSON or Vue. This extenstion provides syntax highlighting for CSP and injects the syntax into common CSP targets, espically HTML and Vue.

* CSP syntax highlighting
* Syntax injection into HTML and Vue sources

## Preview

###### Plan CSP
![screenshot2](images/demo2.png)

###### HTML syntax with embedded CSP
![screenshot](images/demo1.png)
(Set the syntax to HTML and it will be automatically enabled)

## Contribution

Feel free to open an issue or a PR for bugs, embedded into new syntax or anything