Socket
Socket
Sign inDemoInstall

mdtex-cli

Package Overview
Dependencies
13
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mdtex-cli

Markdown equation processing as a command line script


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Install size
15.0 MB
Created
Weekly downloads
 

Readme

Source

mdtex-cli

Markdown equations as a command line script

Introduction

This is a convenience wrapper for gulp-markdown-equations. That packages requires a custom gulpfile in your project with all oft he custom setup. That's nice, but it's a pain. This project takes a simple workflow and wraps it in a cli utility. The result is:

simple\;\LaTeX\;typesetting.

Installation

$ npm install -g mdtex-cli

Examples

Process all files matching *.mdtex in the current directory, outputting them as *.md and equations into ./images:

$ mdtex

Process a specific file:

$ mdtex README.mdtex --output README.md --imageDir ./image-files

Requirements

You will need the following commands accessible in your PATH variable in order to use this utility:

  • pdflatex
  • convert (optional for trimming, part of the ImageMagick suite)
  • pdftocairo (part of the Poppler package)

Usage

$ mdtex --help

  Usage: cli [options] <file ...>

  Options:

    -h, --help                   output usage information
    -V, --version                output the version number
    -i, --input <file>           input file
    -o, --output <file>          output file destination
    -d, --imageDirectory <path>  image output destination

License

(c) 2015 Ricky Reusser. ISC License.

Keywords

FAQs

Last updated on 12 Dec 2015

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc