Socket
Socket
Sign inDemoInstall

@bergkvist/mdmake

Package Overview
Dependencies
28
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

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`


Version published
Weekly downloads
3
decreased by-57.14%
Maintainers
1
Install size
4.60 MB
Created
Weekly downloads
 

Readme

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

Last updated on 11 Apr 2019

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