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

mandoc

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mandoc

Yet another MD document converter.

  • 1.1.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

ManDoc

NPM version dependencies Status devDependencies Status tested with jest Commitizen friendly Conventional Commits

Your swiss-army knife to convert documents in Markdown to PDF or HTML.

Features

This project is inspired by

Installation

$ npm install mandoc -g

Executable Package Release is also in plan for Windows Users.

Docker Image provide is also in plan for Docker Users.

Quick Start

Convert your markdown into PDF through Mandoc

$ mandoc path/to/your/doc.md
$ open path/to/your/doc.pdf

Convert a markdown bytes stream to PDF

$ curl https://raw.githubusercontent.com/chigix/mandoc/master/README.md | mandoc -o ./r.pdf

With Template to build for different situation from your original markdown

$ mandoc --template path/to/template_dir path/to/your/doc.md

Template in mandoc is similar to the concept of theme in building a web site. However mandoc is designed for converting your original markdown document into different shape of files for different situation and needs, which is mostly outputted to a single file as the final result for future usage.

About the template package, mandoc is designed to support npm packaged template release as well, which means that you can share or download other designers' template work through npm install -g tpl_name simply.

About Output

Currently, html and pdf are supported, and default output format would be pdf.

If you want html format as the output result:

$ mandoc --to html path/to/your/doc.md

TODO

To Try

  • tsconfig file series practice It seems that esm5 and esm2015 compiling result from typescript source code could be directly used for the keys, module and es2015, in package.json file.

    This practice could also be totally referenced in rxjs official repository, where different tsconfig files are prepared for compiling target as es5 and es2015.

    This attempt sounds that a little time would be cost without any apparent technical barrier that need to spend time for inspecting and learning.

  • RXJS commit message guideline https://github.com/ReactiveX/rxjs/blob/master/CONTRIBUTING.md#commit-message-guidelines

  • Default Slide Template Support Plan

License

MIT

Keywords

FAQs

Package last updated on 21 Oct 2018

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