Giter Site home page Giter Site logo

akshat-ja / pandoc-goodies Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tajmone/pandoc-goodies

0.0 1.0 0.0 256 KB

A tresure-box of resources for pandoc, pp and Texts word processor.

License: MIT License

CSS 34.79% Pascal 7.86% Batchfile 4.62% Shell 0.20% HTML 51.66% PureBasic 0.11% JavaScript 0.76%

pandoc-goodies's Introduction

Pandoc-Goodies

pandoc v2.0.5 | PP v2.1.5

A tresure-box of resources for pandoc, pp and the Texts word processor.

Copyright © Tristano Ajmone 2017, MIT License.

The project is still WIP and in its early stages, but a pandoc html5 template is ready for use, along with a growing pp-macros library.

PANDOC 2 READY — All resources have been finally ported to work with the new pandoc v2.x release! Copies of some resources for pandoc v1 will be kept in “pandoc_v1” subfolders, for projects which might still need them, but they will no longer be updated.


Table of Contents


Available Goodies

Pandoc HTML5 Templates

Currently, the only template current available is:

PP Macros

The pp-macros section is an ongoing effort to create a collection of pp macros to extend pandoc’s markdown workflow by providing means to use GFM task lists in markdown source file, external syntax highlighters, and many more features.

About PP: PP is a text preprocessor designed for Pandoc (and more generally Markdown and reStructuredText). It’s cross-platform and available as a single standalone binary file:

Skylighting CSS

The skylighting CSS section contains resources for styling code blocks in HTML format.

Skylighting Themes

The skylighting themes section contains resources for customizing syntax highlighting styles via KDE theme files (JSON).

Related Projects

Here is a list of other pandoc-related projects which you might be interested in visiting:

  • GitHub Pages Themes Magick — Create a repo's GitHub Pages website from its README.md file via pandoc and pandoc templates (now supports pandoc v2).

Third Party Code Credits

The “Pandoc-Goodies” project reuses third party source code from the following projects:

You’ll find more details and license information in the documentation of the subfolders.

Notes About Pandoc License

Some legal stuff you should be aware regarding the license terms governing pandoc and some of its built-in resources.

Pandoc is (c) 2006-2017 John MacFarlane, released under the GPL v2 (or greater) license.

The built-in styles (aka syntax themes) that pandoc injects into the final documents also fall under the same GPL v2 license as pandoc.

Pandoc’s built-in default templates are dual-licensed — under both the GPL (v2 or higher, same as pandoc) and the BSD 3-clause (“New” or “Revised”) license:

You should be aware that the built-in syntax highlighting styles are not part of the templates, and therefore are not subject to dual-licensing. Styles are added at conversion time (for those format that support highlighting). Since pandoc’s default templates rely on the built-in styles, syntax highlighting might (depending on output format) automatically include into the final document a built-in style (“pygments”, by default). Since highligthing-styles are governed by the GPL v2 license (which demands same licensing), opting for the BSD 3-clause license might no longer apply to the final document if the template and the styling are woven together into a single file.

For a more detailed explanation regarding HTML templates and CSS styles, see:

GPLv2 vs BSD-3

A quick reference summary of both GPL v2 and BSD 3-clause licenses — Text excerpts and tables taken from choosealicense.com (license: CC BY 3.0):

GNU General Public License v2.0

The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GNU GPL, each with different requirements.

Permissions Conditions Limitations
✔ Commercial use ✔ Disclose source ✘ Liability
✔ Distribution ✔ License and copyright notice ✘ Warranty
✔ Modification ✔ Same license
✔ Private use ✔ State changes

BSD 3-clause “New” or “Revised” License

A permissive license similar to the BSD 2-Clause License, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.

Permissions Conditions Limitations
✔ Commercial use ✔ License and copyright notice ✘ Liability
✔ Distribution ✘ Warranty
✔ Modification
✔ Private use

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.