Skip to main content

A pandoc filter to easily include remote code into markdown

Project description

Include code

A pandoc filter to include remote files in markdown documents (mainly for github code).

Usage

The filter looks for the class .include-code in the code blocks classes.

```{.code-include .cpp}
https://raw.githubusercontent.com/KevinSpaghetti/Raytracer/master/Output/ColorBufferFormat.h
```

The link in the body of the code block will be replaced with the contents of the file.
After the filter has replaced the link with the contents of the file the .include-code tag is removed.

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

include-code-1.0.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

include_code-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file include-code-1.0.0.tar.gz.

File metadata

  • Download URL: include-code-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for include-code-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ea63a41e120989f7cb65cec454f8459480b7aeedb54bf72fcc106e93965e0c6a
MD5 b8b1d98d0daa98f9e680b2f716c9c91a
BLAKE2b-256 fd2b2c468dd00864956176cb073e148db8b59edbb137ad8d474275cd913511d2

See more details on using hashes here.

File details

Details for the file include_code-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for include_code-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 463fc6cb3216f0036e36316d9a67403ceffc2024d36c7c9d3c4e7c497b50c34a
MD5 b69a10373c82c91266ff1b706ea20228
BLAKE2b-256 cb840a6f966fa1492bbcb3e402a7b40f9e8173836922406bdab907d12f857f28

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