0.8.1 • Published 1 year ago

d11ty v0.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

d11ty Makes Your Markdown Pretty

dit ty (noun) a short, simple song

This is a beta version with known bugs. Please check back soon for a project-ready version

d11ty is a CLI tool that doubles as a plugin to the eleventy static site generator. It exists for a sole purpose - to create beautiful PDFs from minimal markdown/up.

d11ty has two modes: CLI mode and (eleventy) plugin mode. If you just want a fast, simple command line tool to convert your markdown into elegant, shareable PDFs, look no further than the former. If you're an avid eleventy user for static site generation, like myself, and need a plugin to convert (all or a subset) of your sites to PDF, the latter is for you. I'm hopeful you'll find benefit in both modes.

CLI Mode

Usage

No need to install. Just run from your command line as such:

npx d11ty [ -c, --collate ] [ -o <outputDirectory>] <pathOrFileSpec>

Plugin Mode

Configuration

A configuration file named .d11ty.js can be included in the root of your project directory. It must export a single function that resolves to an object that may contain any of the following keys:

KeyDescriptiondefault value
outputpath to output directory.
collatewhen true all .md will be collated into a single PDFfalse
0.7.9

2 years ago

0.7.6

2 years ago

0.7.5

2 years ago

0.5.7

2 years ago

0.7.8

2 years ago

0.7.7

2 years ago

0.8.1

1 year ago

0.6.3

2 years ago

0.7.2

2 years ago

0.5.4

2 years ago

0.8.0

2 years ago

0.6.2

2 years ago

0.7.1

2 years ago

0.5.3

2 years ago

0.7.4

2 years ago

0.5.6

2 years ago

0.6.4

2 years ago

0.7.3

2 years ago

0.5.5

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.6

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago