npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

md2tex

v1.0.5

Published

transform markdown to LaTeX

Downloads

4

Readme

md2tex

md2tex is a command-line tool for converting Markdown files into LaTeX format. Written in Node.js, it's easy to install and use.

Installation

  • For those who have Node.js and npm

    npm install -g md2tex
  • For those who don't have Node.js and npm Currently, md2tex can be installed by downloading the pre-compiled binary file. Please select the appropriate version for your operating system.

    Download for macOS Download for Windows Download for Linux

Usage

Using md2tex is straightforward. To convert a Markdown file to LaTeX format, use the following command in the terminal:

md2tex <inputFile.md> -o <outputFile.tex>

Parameters

  • <inputFile.md>: The path to the Markdown file you want to convert.
  • -o <outputFile.tex>: (Optional) Specifies the path of the output file. If this option is not provided, a .tex file with the same name will be created in the same directory as the input file.

Example

To convert input.md to LaTeX format and save it as output.tex:

md2tex input.md -o output.tex

If you do not specify an output file:

md2tex input.md

This will create output.tex in the same directory as input.md.

Changelog

I apologize for the frequent updates and modifications. This is my first time creating a tool like this with Node.js, and there are many aspects I didn't fully consider.

v1.0.5

  • 2024/03/05
  • Added: Added functionality for converting table.
  • Added: Added functionality for converting list within blockquote.

v1.0.4

  • 2024/03/05
  • Fixed: Fixed some issues within display-math functionality.

v1.0.3

  • 2024/03/05
  • Added: Added functionality for converting display-math within blockquote.

v1.0.2

  • 2024/02/29
  • Added: Introduced functionality for converting underline.

v1.0.1

  • 2024/02/28
  • Added: Implemented functionality for converting blockquote/display-code.

v1.0.0

  • 2024/02/27
  • Added: Released the initial version, which includes basic functionality for conversions (display-math, inline-math, inline-code, bold, italic, etc.).

License

md2tex is released under the MIT license. For more information, see the LICENSE file.