Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josef-friedrich/jf_pygments
Extend the Python syntax highlighter with some custom lexers and styles.
https://github.com/josef-friedrich/jf_pygments
Last synced: 23 days ago
JSON representation
Extend the Python syntax highlighter with some custom lexers and styles.
- Host: GitHub
- URL: https://github.com/josef-friedrich/jf_pygments
- Owner: Josef-Friedrich
- License: gpl-3.0
- Created: 2022-12-25T16:14:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-26T18:34:48.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T11:20:04.053Z (2 months ago)
- Language: HTML
- Size: 43.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
jf_pygments
===========Extend the Python syntax highlighter with some custom lexers and styles.
https://pygments.org/docs/plugins/
::
pip install --user "pygments[plugins]"
::
pip install --user jf_pygments
https://python-poetry.org/docs/pyproject/#plugins
.. code-block:: toml
[tool.poetry.plugins]
[tool.poetry.plugins."pygments.styles"]
white = "jf_pygments:WhiteStyle"
baldr = "jf_pygments:BaldrStyle"[tool.poetry.plugins."pygments.lexers"]
baldrsql = "jf_pygments:BaldrSqlLexer"Check if the plugin is picked up by pygments::
pygmentize -L | grep baldr
testing::
pip install --user . ; ./test.sh