All Projects → Palexer → mdconv

Palexer / mdconv

Licence: MIT license
A CLI markdown converter written in Go, that does not depend on LaTeX.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
CSS
56736 projects

Projects that are alternatives of or similar to mdconv

markdown articles tool
Parse markdown article, download images and replace images URL's with local paths
Stars: ✭ 37 (-11.9%)
Mutual labels:  markdown-to-html, markdown-to-pdf
MarkdownIt
Efficient Code Editor to live render Markdown and save as Markdown,Html and Pdf with Instant Hosting in The Web.
Stars: ✭ 31 (-26.19%)
Mutual labels:  markdown-to-html, markdown-to-pdf
github-flavored-markdown-to-html
Convert markdown to HTML using the GitHub API and some additional tweaks with Python. Comes with full formula support and image compression.
Stars: ✭ 44 (+4.76%)
Mutual labels:  markdown-to-html, markdown-to-pdf
kMD2PDF
Markdown to PDF conversion library written in Kotlin
Stars: ✭ 14 (-66.67%)
Mutual labels:  markdown-to-html, markdown-to-pdf
Flexmark Java
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
Stars: ✭ 1,673 (+3883.33%)
Mutual labels:  markdown-to-html, markdown-to-pdf
chromarkdown
Generate single-file static responsive HTML page from Markdown with syntax-highlighting.
Stars: ✭ 13 (-69.05%)
Mutual labels:  markdown-to-html
easy-resume
🎉 A less is more online resume editor!
Stars: ✭ 116 (+176.19%)
Mutual labels:  markdown-to-pdf
django-invoices
Create invoices using django
Stars: ✭ 28 (-33.33%)
Mutual labels:  wkhtmltopdf
parcel-plugin-markdown-string
📦@parcel-bundler plugin for loader markdown string, markdown output HTML.
Stars: ✭ 19 (-54.76%)
Mutual labels:  markdown-to-html
dotnet-eud
DevExpress .NET Controls End-User Documentation
Stars: ✭ 50 (+19.05%)
Mutual labels:  wkhtmltopdf
nodejs-markdown-site
Markdown-based site (blog, project documentation, etc) written with NodeJS.
Stars: ✭ 68 (+61.9%)
Mutual labels:  markdown-to-html
StrapDown.js
✨ StrapDown.js is an awesome javascript tool to quickly publish nice-looking web-pages in pure Markdown 📝, with no server side compilation 😎 →
Stars: ✭ 86 (+104.76%)
Mutual labels:  markdown-to-html
HtmlToPdfImage
transform html to pdf/image ,base on wkhtmltox and dotnet core 2.0
Stars: ✭ 16 (-61.9%)
Mutual labels:  wkhtmltopdf
bookjs-eazy
web print / html to pdf so eazy ,HTML自动分页插件。用于生成PDF,前端WEB打印生成PDF或后端wkhtmltopdf、chrome headless生成
Stars: ✭ 99 (+135.71%)
Mutual labels:  wkhtmltopdf
madness
Instant Markdown Server
Stars: ✭ 54 (+28.57%)
Mutual labels:  markdown-to-html
iA-Writer-Templates-Github-Plus
A Github flavored iA Writer template with math, graph support.
Stars: ✭ 79 (+88.1%)
Mutual labels:  markdown-to-html
notes
Simple text editor for your Markdown and LaTeX notes.
Stars: ✭ 24 (-42.86%)
Mutual labels:  markdown-to-html
Mizi
A simple markdown to website generator written in C++.
Stars: ✭ 31 (-26.19%)
Mutual labels:  markdown-to-html
ignore
🔥修炼内功,无招胜有招。 ---个人博客
Stars: ✭ 27 (-35.71%)
Mutual labels:  markdown-to-html
dhtml2pdf
Simple, free and very easy to use PHP API that allows you to see, download or get the binary of the PDF generated from the HTML of an URL.
Stars: ✭ 27 (-35.71%)
Mutual labels:  wkhtmltopdf

Mdconv

About

Mdconv is a Markdown converter written in Go. The goal of this project is to create a Markdown to PDF converter, that doesn't need big dependencies like headless Chromium or LaTeX and is written in a compiled language, so that NodeJS is not necessary. It is able to create PDF and HTML files from Markdown without using LaTeX or any other big dependency. Instead, mdconv uses the goldmark Markdown processor and relies on wkhtmltopdf (go-wkhtmltopdf) to convert the HTML to PDF.

Installation

Download

  1. Install wkhtmltopdf for PDF conversions.
  2. Download mdconv from the releases section.

Compile from source

  1. Clone this repository to your local machine
  2. Install the dependencies: go, wkhtmltopdf
  3. Run sudo make install

Note: Run can also sudo make uninstall to remove the program

Usage

General Usage

Convert a Markdown document to HTML:

mdconv path/to/markdowndocument.md

Convert a Markdown document to PDF:

mdconv -o output.pdf path/to/markdowndocument.md

Note: The output file type is defined by the file extension of the output file specified with -o. Consequently you'll always have to use the -o flag to output to PDF

For all available options see mdconv -h

Features

  • HTML and PDF output
  • standard Markdown features like headings, images, lists, code blocks, embedded HTML, tables, etc.
  • custom CSS stylesheet for output files
  • configurable via command line flags

ToDo

  • write more tests and test pagesize and orientation
  • PDF emoji support
  • more options as flags with new converter lib
  • correct display of checkboxes

Contributing

Contributions of all kinds are very welcome.

License

MIT License

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].