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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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