Pygments lexer for SQL PL
Project description
Pygments lexer for SQL PL
SQL PL (SQL Procedural Language) is the DB2 implementation of ANSI SQL/PSM. This module extends the SqlLexer lexer of Pygments to support more keywords of SQL PL.
Installation
Use the following commands to install the package:
$ cd pygments-sql-pl-lexer $ [sudo] python setup.py install
Check if the lexer is present
Simply grep the output of the following command for sqlpl.:
$ pygmentize -L lexers | grep sqlpl
Use the lexer in LaTeX
Replace <language> with sqlpl:
\begin{minted}{<language>} <code> \end{minted}
For example:
\begin{minted}[linenos=true,frame=single]{sqlpl} --#SET TERMINATOR @ CREATE OR REPLACE MODULE project @ \end{minted}
produces
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pygments-sql-pl-lexer-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc72c60d60044125a9f502cbbac1a13f4a0bb0bb6e6082a1dd378a48a26523c3 |
|
MD5 | a2123af0ca349a44db515fc89f86108c |
|
BLAKE2b-256 | f9b32ba67ead825f590196679dbda1adbbfed7c7798a50a5fa7edefea5941886 |
Close
Hashes for pygments_sql_pl_lexer-0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b4ba5d739c876e63266623df58ef96a04cdcb184af93c35df57ed4fbaa37484 |
|
MD5 | 199d6972f9c462ae61363812036496a5 |
|
BLAKE2b-256 | 43aeac6d0b60be89d470983d61fee1232666ac25069e3625e379933842bfbc29 |