Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Your swiss-army knife to convert documents in Markdown to PDF or HTML.
This project is inspired by
$ npm install mandoc -g
Executable Package Release is also in plan for Windows Users.
Docker Image provide is also in plan for Docker Users.
Convert your markdown into PDF through Mandoc
$ mandoc path/to/your/doc.md
$ open path/to/your/doc.pdf
Convert a markdown bytes stream to PDF
$ curl https://raw.githubusercontent.com/chigix/mandoc/master/README.md | mandoc -o ./r.pdf
With Template to build for different situation from your original markdown
$ mandoc --template path/to/template_dir path/to/your/doc.md
Template in mandoc is similar to the concept of theme in building a web site. However mandoc is designed for converting your original markdown document into different shape of files for different situation and needs, which is mostly outputted to a single file as the final result for future usage.
About the template package, mandoc is designed to support npm packaged template
release as well, which means that you can share or download other designers'
template work through npm install -g tpl_name
simply.
Currently, html
and pdf
are supported, and default output format would be
pdf
.
If you want html format as the output result:
$ mandoc --to html path/to/your/doc.md
--pagesize
SIZE, --print.pageSize
SIZE
: Specify the paper size for output pdf file.
SIZE format can be:
A4
A3 landscape
400mm 600mm
, where the left dedicates to the width to set and the right is
heightprint.margin
option supportFAQs
Yet another MD document converter.
The npm package mandoc receives a total of 2 weekly downloads. As such, mandoc popularity was classified as not popular.
We found that mandoc demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.