All Projects → gettalong → Kramdown

gettalong / Kramdown

Licence: other
kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Kramdown

Gotenberg Go Client
Go client for the Gotenberg API
Stars: ✭ 35 (-97.74%)
Mutual labels:  markdown, pdf
O
🌀 Text editor suitable for writing git commit messages and editing Markdown files. Can build executables and jump to errors at the press of `ctrl-space`, for several programming languages. Can format code with `ctrl-w`. Provides general syntax highlighting, rainbow parenthesis and cut/paste portals. o is intentionally limited to VT100.
Stars: ✭ 54 (-96.51%)
Mutual labels:  markdown, pdf
Mkdocs With Pdf
Generate a single PDF file from MkDocs repository.
Stars: ✭ 39 (-97.48%)
Mutual labels:  markdown, pdf
Easybook
Book publishing as easy as it should be (built with Symfony components)
Stars: ✭ 744 (-51.88%)
Mutual labels:  markdown, pdf
Markdownmonster
An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
Stars: ✭ 1,203 (-22.19%)
Mutual labels:  markdown, pdf
Markdown2document
turn markdown files to a PDF or HTML document
Stars: ✭ 22 (-98.58%)
Mutual labels:  markdown, pdf
Mybox
Easy tools of document, image, file, network, location, color, and media.
Stars: ✭ 45 (-97.09%)
Mutual labels:  markdown, pdf
Vscode Markdown Pdf
Markdown converter for Visual Studio Code
Stars: ✭ 571 (-63.07%)
Mutual labels:  markdown, pdf
Docnado
Rapid documentation tool that will blow you away...
Stars: ✭ 67 (-95.67%)
Mutual labels:  markdown, pdf
Gopdf
pdf document generation library
Stars: ✭ 63 (-95.92%)
Mutual labels:  markdown, pdf
Recipes
Django application for managing recipes
Stars: ✭ 695 (-55.05%)
Mutual labels:  markdown, pdf
Remarks
Extract highlights, scribbles, and annotations from PDFs marked with the reMarkable tablet. Export to Markdown, PDF, PNG, and SVG
Stars: ✭ 94 (-93.92%)
Mutual labels:  markdown, pdf
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (-56.08%)
Mutual labels:  markdown, pdf
Markdownviewerplusplus
A Notepad++ Plugin to view a Markdown file rendered on-the-fly
Stars: ✭ 865 (-44.05%)
Mutual labels:  markdown, pdf
Md2pdf
Offline markdown to pdf, choose -> edit -> transform 🥂
Stars: ✭ 632 (-59.12%)
Mutual labels:  markdown, pdf
Markdown2pdf
A simple library to convert markdown to pdf using Java
Stars: ✭ 41 (-97.35%)
Mutual labels:  markdown, pdf
Mdpdf
Markdown to PDF command line app with support for stylesheets
Stars: ✭ 512 (-66.88%)
Mutual labels:  markdown, pdf
Zettlr
A Markdown Editor for the 21st century.
Stars: ✭ 6,099 (+294.5%)
Mutual labels:  markdown, pdf
Gulp Markdown Pdf
Markdown to PDF
Stars: ✭ 56 (-96.38%)
Mutual labels:  markdown, pdf
Gotenberg Php Client
PHP client for the Gotenberg API
Stars: ✭ 80 (-94.83%)
Mutual labels:  markdown, pdf

kramdown

Readme first!

kramdown was originally licensed under the GPL until the 1.0.0 release. However, due to the many requests it is now released under the MIT license and therefore can easily be used in commercial projects, too.

However, if you use kramdown in a commercial setting, please consider contributing back any changes for the benefit of the community and/or becoming a sponsor or a patron - thanks!

Sponsors:

Introduction

kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.

The syntax definition for the kramdown syntax can be found in doc/syntax.page (or online at http://kramdown.gettalong.org/syntax.html) and a quick reference is available in doc/quickref.page or online at http://kramdown.gettalong.org/quickref.html.

The kramdown library is mainly written to support the kramdown-to-HTML conversion chain. However, due to its flexibility (by creating an internal AST) it supports other input and output formats as well. Here is a list of the supported formats:

  • input formats: kramdown (a Markdown superset), Markdown, GFM, HTML
  • output formats: HTML, kramdown, LaTeX (and therefore PDF), PDF via Prawn

All the documentation on the available input and output formats is available in the doc/ directory and online at http://kramdown.gettalong.org.

Starting from version 1.0.0 kramdown is using a versioning scheme with major, minor and patch parts in the version number where the major number changes on backwards-incompatible changes, the minor number on the introduction of new features and the patch number on everything else.

For information about changes between versions, have a look at http://kramdown.gettalong.org/news.html or the commit history!

Usage

kramdown has a very simple API, so using kramdown is as easy as

require 'kramdown'

Kramdown::Document.new(text).to_html

For detailed information have a look at the API documentation of the Kramdown::Document class.

The full API documentation is available at http://kramdown.gettalong.org/rdoc/, other sites with an API documentation for kramdown probably don't provide the complete documentation!

There are also some third-party libraries that extend the functionality of kramdown -- see the kramdown Wiki at https://github.com/gettalong/kramdown/wiki.

Development

Just clone the git repository as described in doc/installation.page and you are good to go. You probably want to install rake so that you can use the provided rake tasks.

If you want to run the tests, the development dependencies are needed as well as some additional programs like tidy and latex. See the .travis.yml file for more information.

License

MIT - see the COPYING file.

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