
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
This project implements a Pygments <http://pygments.org>
_ lexer
for Robot Framework <http://robotframework.org>
_ test data in plain
text format. It is available as a separate plugin and included in
Pygments 1.6 and newer.
Pygments_ is a generic library/tool for syntax highlighting. It is used by many different applications and wikis.
Robot Framework
_ is a generic open source automation framework for
acceptance testing, acceptance test driven development (ATDD), and robotic
process automation (RPA). It has simple plain text syntax and this project
provides syntax highlighting for it.
Installation packages are at PyPI <https://pypi.python.org/pypi/robotframeworklexer>
_. Installation itself
is easiest with pip
:
.. code:: bash
pip install pygments
pip install robotframeworklexer
The latter step is only needed if you want to use a newer lexer version than the one included in Pygments.
After installation Pygments will recognize robotframework
lexer. It can be used, for example, with the pygmentize
tool:
.. code:: bash
# Lexer for ``*.robot`` files is found automatically.
pygmentize tests.robot
# Explicit lexer configuration needed with ``*.txt`` files.
pygmentize -l robotframework tests.txt
# Override built-in robotframework lexer with separately installed version.
pygmentize -O robotframework=robotframework tests.robot
See generate.py <https://github.com/robotframework/pygmentslexer/blob/master/generate.py>
_
script for an example of the programmatic usage. For general information about
using Pygments, consult its documentation <http://pygments.org/docs/>
_ and/or
the documentation of the tool you are using it with.
Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0.html>
_.
FAQs
Pygments lexer for Robot Framework test data.
We found that robotframeworklexer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.