All Projects → p1ass → Mdtopdf

p1ass / Mdtopdf

Licence: mit
🐳 Pandoc docker image for converting markdown to PDF using TeX typesetting

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Mdtopdf

Githubdocs
Easily build a searchable documentation app using markdown files in your Github Repo or local Markdown files.
Stars: ✭ 122 (-3.94%)
Mutual labels:  markdown
Tun2socks
tun2socks - powered by gVisor TCP/IP stack
Stars: ✭ 123 (-3.15%)
Mutual labels:  docker-image
Docs
Official repository containing all docs & guides of OVH Group
Stars: ✭ 126 (-0.79%)
Mutual labels:  markdown
Lessmd
A small markdown viewer/converter for unix terminal.
Stars: ✭ 122 (-3.94%)
Mutual labels:  markdown
Liche
Fast Link Checker for Markdown and HTML in Go
Stars: ✭ 123 (-3.15%)
Mutual labels:  markdown
Docker Workshop
Introduction to Docker tutorial
Stars: ✭ 124 (-2.36%)
Mutual labels:  docker-image
Markdownslides
MarkdownSlides is a Reveal.js and PDF slides generator from MARKDOWN files, that also generate HTML, EPUB and DOCX documents. The idea is that from a same MARKDOWN file we can get slides and books without worrying about style, just worrying about content.
Stars: ✭ 121 (-4.72%)
Mutual labels:  markdown
Kubler
A generic, extendable build orchestrator.
Stars: ✭ 126 (-0.79%)
Mutual labels:  docker-image
Prom2teams
prom2teams is an HTTP server built with Python that receives alert notifications from a previously configured Prometheus Alertmanager instance and forwards it to Microsoft Teams using defined connectors
Stars: ✭ 122 (-3.94%)
Mutual labels:  docker-image
Xrichtext
一个Android富文本类库,支持图文混排,支持编辑和预览,支持插入和删除图片。
Stars: ✭ 1,639 (+1190.55%)
Mutual labels:  markdown
Wizard
Wizard是一款开源的文档管理工具,支持Markdown/Swagger/Table类型的文档。
Stars: ✭ 1,733 (+1264.57%)
Mutual labels:  markdown
Markdown Intro
Markdown Intro / Markdown 简介
Stars: ✭ 123 (-3.15%)
Mutual labels:  markdown
Foundryvtt Docker
An easy-to-deploy Dockerized Foundry Virtual Tabletop server.
Stars: ✭ 123 (-3.15%)
Mutual labels:  docker-image
Markdown Css
A tool convert css style into markdown inline style
Stars: ✭ 122 (-3.94%)
Mutual labels:  markdown
Woofmark
🐕 Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor
Stars: ✭ 1,594 (+1155.12%)
Mutual labels:  markdown
Notes Cli
Small markdown note taking CLI app playing nicely with your favorite editor and other CLI tools
Stars: ✭ 122 (-3.94%)
Mutual labels:  markdown
React Code View
Code editor for React
Stars: ✭ 124 (-2.36%)
Mutual labels:  markdown
Centos Ssh
OpenSSH / Supervisor / EPEL/IUS/SCL Repos - CentOS - Docker image build.
Stars: ✭ 126 (-0.79%)
Mutual labels:  docker-image
4minitz
4Minitz - Simply a decent free webapp for taking collaborative meeting minutes. (Keywords: Meeting Protocols, Action Items, Open Source). Check it out on our demo server:
Stars: ✭ 125 (-1.57%)
Mutual labels:  docker-image
Honkit
📖 HonKit is building beautiful books using Markdown - Fork of GitBook
Stars: ✭ 1,901 (+1396.85%)
Mutual labels:  markdown

mdtopdf 🐳

mdtopdf is the pandoc docker image for converting markdown to PDF using TeX typesetting.

Examples

You can see example markdown file and converted PDF file from the link below👇

example markdown

example converted PDF

Top Image

Getting Started

  1. Pull docker image.
$ docker pull plass/mdtopdf

⚠️ This docker image size is 1.68GB. I recommend pulling it using the fast Internet connection.

  1. Generate PDF file.
$ docker run -it --rm -v "`pwd`":/workdir plass/mdtopdf mdtopdf INPUT.md

Windows (PowerShell) : Replace `pwd` to ${pwd}
fish shell : Replace `pwd` to (pwd)

Advanced Usages

Generate PDF file on save

$ docker run -it --rm -v "`pwd`":/workdir  plass/mdtopdf w-mdtopdf INPUT.md

Set alias

You can decrease typing using alias command as below,

$ echo "alias mdtopdf='docker run -it --rm -v "`pwd`":/workdir plass/mdtopdf mdtopdf'" >> ~/.bash_profile
$ echo "alias w-mdtopdf='docker run -it --rm -v "`pwd`":/workdir  plass/mdtopdf  w-mdtopdf'" >> ~/.bash_profile
$ source ~/.bash_profile
 
$ mdtopdf INPUT.md
$ w-mdtopdf INPUT.md

zsh : Modify .zshrc instead of .bash_profile.
Ubuntu : Modify .bashrc instead of .bash_profile.

If you're using Docker for Windows, setting alias is a bit tricky. Use following command.

> echo 'Function mdtopdf {Param($file) docker run -it --rm -v ${pwd}:/workdir plass/mdtopdf mdtopdf $(Get-ChildItem $file -Name)}' >> $PROFILE
> echo 'Function mdtopdf {Param($file) docker run -it --rm -v ${pwd}:/workdir plass/mdtopdf w-mdtopdf $(Get-ChildItem $file -Name)}' >> $PROFILE
> . $PROFILE
> mdtopdf INPUT.md
> w-mdtopdf INPUT.md

Generate tex file from markdown

$ docker run -it --rm -v "`pwd`":/workdir  plass/mdtopdf mdtotex INPUT.md

Generate html file from markdown

$ docker run -it --rm -v "`pwd`":/workdir  plass/mdtopdf mdtohtml INPUT.md

example converted HTML

Generate docx file from markdown

$ docker run -it --rm -v "`pwd`":/workdir  plass/mdtopdf mdtodocx INPUT.md

example converted docx

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].