
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
mdtoimpress
Advanced tools
A work in progress...
mdtoimpress is a tool to convert markdown to impress pages. Independent layout engines can exist to allow for different styles of presentation.
$ npm install -g mdtoimpress$ mdtoimpress␍␊
Must have input and output arg!
Usage: mdtoimpress [options]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --input <path> Input markdown file path
-o, --output <path> Impress html file output path
-l, --layout <layout> layout engine to use (linear, radial)
-v, --verbose Switch on verbose output
Examples:
$ mdtoimpress -i file.md -o file.html -l linear
There are Three Layout Engines
------ to separate each slide<!-- x=0 y=0 rotate=0 -->$ mdtoimpress -i file.md -o file.html -l manual## example ) to separate each slide$ mdtoimpress -i file.md -o file.html -l linear$ mdtoimpress -i file.md -o file.html -l radialvar fs = require('fs');
var mtoi = require('markdown-impress');
var content = mtoi('file.md');
fs.writeFileSync('file.html', content);
The best way to write a new layout engine is to clone one that's there already and change it until it fits your requirements. If you copy linear.js and call it vertical.js then it would be used with -l vertical without any more configuration.
Layout Engines export four things.
splitter - a regular expression used to identify a slide boundary e.g. /^(#+.*)$/mgkeepSplitterMatch - a boolean which if true will keep the content that's matched by the regex. If false whatever is matched is discarded and forms no part of the final document.overview is a function which, if present, is called in order to add an additional overview slide to the deck.layout is a function that receives the markdown and returns HTML.The original code was by steel1990. This was missing a few fetures needed by ear1grey who added selectable layout engines, so that the original comment-based layouts could still work, but also, completely automatic layouts (capable of formatting pure unmodified MD) could also be laid out.
FAQs
A tool to convert markdown to impress page.
We found that mdtoimpress 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.