
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
2lazy2rest
Advanced tools
########## 2lazy2rest ##########
A simple way to produce short-to-medium document using reStructuredText
Multi-format themes Render the same document in HTML, ODT, PDF keeping the main visual identity Unified interface - Tired of switching between rst2* tools having different arguments or behavior ? - Would like to not lose code-blocks or some rendering options switching the output format ?
This tool try to address this
Make your own theme TODO: templates will be customizable easily (say, probably colors only)
How to use it #############
You'll need rst2pdf to use all the features, other rst2* tools are coming from docutils.
.. code-block:: console
mkrst [-h] [--html] [--pdf] [--odt] [--theme THEME]
[--themes-dir THEMES_DIR]
FILE
optional arguments: -h, --help show this help message and exit --html Generate HTML output --pdf Generate PDF output --odt Generate ODT output --theme THEME Use a different theme --themes-dir THEMES_DIR Change the folder searched for theme
.. code-block:: console
popo:~/2lazy2rest% ./mkrst test_page.rst --html --pdf
Using ./themes/default
html: test_page.html
pdf: test_page.pdf
Make a copy of themes/default, edit to your needs the copy and use the --theme option with the name of your copy, that's All !
.. code-block:: console
popo:/2lazy2rest% cp -r themes/default themes/red
popo:/2lazy2rest% sed -si 's/#FEFEFE/red/g' themes/red/html/stylesheet.css
popo:~/2lazy2rest% ./mkrst test_page.rst --html --theme red
Issues
FAQs
Effortless generation of PDF, HTML & ODT documents from RST (ReStructuredText)
We found that 2lazy2rest 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
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.