Git Product home page Git Product logo

lua-filters's Introduction

Lua Filters

Build status

A collection of Lua filters for pandoc.

To learn about Lua filters, see the documentation.

Warning

This repository is in the process of being retired. Please see the next section for details.

Status of this repository

We no longer accept new filter submissions and will only apply small patches to the existing filters.

The most popular filters have been or will be transferred to the [pandoc-ext] organization. Please raise an issue in the info repository if your favorite filter has not been re-published yet.

List of extensions

A list of extensions is available in the pandoc-ext/info repository. See also the pandoc and pandoc-filter GitHub topics.

New filters

We want the ecosystem to be distributed, but also try to make it easy to discover new software. That's why we ask filter authors to add the pandoc and pandoc-filter to the GitHub repositories, as enables others to explore filters through GitHub's interface.

Additionally, please add a link to your filter to the pandoc-ext/info repository.

Why is this repository being retired?

There are multiple reasons why this repository is discontinued:

  • Maintenance – supporting all filters in this repository became unsustainable. As put by John MacFarlane in issue #207:

    One drawback of the current structure is that people submit code here but then don't monitor the repository, and issues are neglected.

    This put a lot of work on not enough shoulders, with the result that code wasn't properly maintained.

  • Credit and ownership – authors should get proper credit for their work, but putting all filters in one repository makes their contributions less visible. Repositories owned by the original authors makes it obvious who put in all the work and who is responsible.

  • Interoperability – many filters are useful for Quarto users; having one repository per filter makes it possible to support Quarto's extension mechanism, enabling users to install the filters with the quarto install extension command.

Requirements

Filters are tested against the pandoc version in the latest pandoc/ubuntu Docker image, i.e. usually the latest release. There is no guarantee that filters will work with older versions, but many do.

Some filters depend on external programs, which must be installed separately. Refer to the filters' documentations for detailed requirements.

Installation

All filters can be used without special installation, just by passing the respective .lua file path to pandoc via --lua-filter/-L.

User-global installation is possible by placing a filter in within the filters directory of pandoc's user data directory. This allows to use the filters just by using the filename, without having to specify the full file path.

On mac and Linux, the filters can be installed by extracting the archive with

RELEASE_URL=https://github.com/pandoc/lua-filters/releases/latest
curl -LSs $RELEASE_URL/download/lua-filters.tar.gz | \
    tar --strip-components=1 --one-top-level=$PANDOC_DIR -zvxf -

where $PANDOC_DIR is a user directory as listed in the output of pandoc -v.

Contributing

PRs for improvements or bug fixes are welcome. However, we do not accept new filters at this time. However, we do encourage submissions of external repositories to be included as a link in the collection.

Please see CONTRIBUTING.md for information on code contributions.

License

All filters are published under the MIT license by their respective authors. See LICENSE for details.

lua-filters's People

Contributors

tarleb avatar jgm avatar not-my-profile avatar blake-riley avatar tolot27 avatar lmunch avatar smancill avatar cole-miller avatar jdutant avatar svenevs avatar niszet avatar robinrosenstock avatar odkr avatar jkr avatar frederik-elwert avatar b3 avatar stroobandt avatar postylem avatar gtuckerkellogg avatar konfekt avatar ddougj avatar averms avatar floriandd2ba avatar chemcoder-2020 avatar badumont avatar code-in-cpp avatar sokotim avatar sommerengineering avatar twsh avatar korintje avatar

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.