# 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.
Raw data
{
"_id": null,
"home_page": "",
"name": "include-code",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "pandoc filter documentation",
"author": "Kevin Della Schiava",
"author_email": "Kevin Della Schiava <dellaschiavak@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/fd/2b/2c468dd00864956176cb073e148db8b59edbb137ad8d474275cd913511d2/include-code-1.0.0.tar.gz",
"platform": null,
"description": "# Include code \nA pandoc filter to include remote files in markdown documents (mainly for github code).\n\n# Usage\nThe filter looks for the class `.include-code` in the code blocks classes.\n\n````\n```{.code-include .cpp}\nhttps://raw.githubusercontent.com/KevinSpaghetti/Raytracer/master/Output/ColorBufferFormat.h\n```\n```````\n\nThe link in the body of the code block will be replaced with the contents of the file. \nAfter the filter has replaced the link with the contents of the file the `.include-code` tag is removed.\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "A pandoc filter to easily include remote code into markdown",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/KevinSpaghetti/include-code"
},
"split_keywords": [
"pandoc",
"filter",
"documentation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cb840a6f966fa1492bbcb3e402a7b40f9e8173836922406bdab907d12f857f28",
"md5": "b69a10373c82c91266ff1b706ea20228",
"sha256": "463fc6cb3216f0036e36316d9a67403ceffc2024d36c7c9d3c4e7c497b50c34a"
},
"downloads": -1,
"filename": "include_code-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b69a10373c82c91266ff1b706ea20228",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3800,
"upload_time": "2023-08-06T18:58:52",
"upload_time_iso_8601": "2023-08-06T18:58:52.050661Z",
"url": "https://files.pythonhosted.org/packages/cb/84/0a6f966fa1492bbcb3e402a7b40f9e8173836922406bdab907d12f857f28/include_code-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fd2b2c468dd00864956176cb073e148db8b59edbb137ad8d474275cd913511d2",
"md5": "b8b1d98d0daa98f9e680b2f716c9c91a",
"sha256": "ea63a41e120989f7cb65cec454f8459480b7aeedb54bf72fcc106e93965e0c6a"
},
"downloads": -1,
"filename": "include-code-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "b8b1d98d0daa98f9e680b2f716c9c91a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 2870,
"upload_time": "2023-08-06T18:58:53",
"upload_time_iso_8601": "2023-08-06T18:58:53.611503Z",
"url": "https://files.pythonhosted.org/packages/fd/2b/2c468dd00864956176cb073e148db8b59edbb137ad8d474275cd913511d2/include-code-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-06 18:58:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "KevinSpaghetti",
"github_project": "include-code",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "include-code"
}