Skip to main content

Panflute filter to allow file includes

Project description

Pandoc filter to allow file includes.

The filter script is originally from User Guide for Panflute. This repository is to provide a simple way to install and use it.

Installation

Use pip to install:

pip install --user pandoc-include

Usage

Each include statement has its own line and has the syntax:

!include ../somefolder/somefile

Or

$include ../somefolder/somefile

Each include statement must be in its own paragraph. That is, in its own line and separated by blank lines.

If no extension was given, “.md” is assumed.

Note: The second syntax may lead to wrong highlighting when using a markdown editor. If it happens, use the first syntax.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandoc-include-0.2.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

pandoc_include-0.2.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pandoc-include-0.2.1.tar.gz.

File metadata

  • Download URL: pandoc-include-0.2.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pandoc-include-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b7dbfeec71f99eaf8cdfaf45ec843edddb3acfa356824631249cbe5afa0082ef
MD5 27e953a8ce223b47debb178d01cbb178
BLAKE2b-256 6cb465c49b09b6f053fde525e479136d7aeced038462f21a34f09bdd89a7f2c7

See more details on using hashes here.

File details

Details for the file pandoc_include-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pandoc_include-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pandoc_include-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5f13cda12b059d4abaae2151be00ff3a64caa549bf85bd3b68e21be41b49f9d
MD5 4858fd7a01a1bff2f793659a407a1ef9
BLAKE2b-256 0d69fd5343f376c5a30682d131c6c979dbd8ebc634184027f330e6f8c3882ceb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page