Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bergkvist/mdmake

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bergkvist/mdmake

npm script for creating a markdown template: `[filename].md` + `Makefile` -> `[filename].pdf`

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm script for creating a markdown template: [filename].md + Makefile -> [filename].pdf

Creating a project

[some-folder]$ npx @bergkvist/mdmake [filename]

This will create a Makefile as well as [filename].md in the current folder.

Usage after creation


# Compile [filename].md to [filename].pdf
[some-folder]$ make

# Run make automatically whenever [filename].md changes.
[some-folder]$ make watch

# Preview pdf (with automatic updates) in zathura pdf viewer.
[some-folder]$ make preview

# Open file for editing in gedit
[some-folder]$ make edit

Requirements

  • pandoc with pdf-latex (for compiling from [filename].md -> [filename].pdf)
  • zathura (for opening pdf-preview)
  • entr (for watching file changes)
  • make (for using the make commands)
  • gedit (for using make edit)

FAQs

Package last updated on 11 Apr 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc