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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea63a41e120989f7cb65cec454f8459480b7aeedb54bf72fcc106e93965e0c6a
|
|
| MD5 |
b8b1d98d0daa98f9e680b2f716c9c91a
|
|
| BLAKE2b-256 |
fd2b2c468dd00864956176cb073e148db8b59edbb137ad8d474275cd913511d2
|
File details
Details for the file include_code-1.0.0-py3-none-any.whl.
File metadata
- Download URL: include_code-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
463fc6cb3216f0036e36316d9a67403ceffc2024d36c7c9d3c4e7c497b50c34a
|
|
| MD5 |
b69a10373c82c91266ff1b706ea20228
|
|
| BLAKE2b-256 |
cb840a6f966fa1492bbcb3e402a7b40f9e8173836922406bdab907d12f857f28
|