Include (parts of) a source file into the current wiki page
Project description
Description
IncludeSourcePartialPlugin allows source files to be partially or wholly included in other wiki content.
Samples
Include entire file:
[[IncludeSource(trunk/proj/file.py)]]
Includes line 20-50 inclusive:
[[IncludeSource(trunk/proj/file.py, start=20, end=50)]]
Includes last 30 lines of file at revision 1200:
[[IncludeSource(trunk/proj/file.py, start=-30, rev=1200)]]
Include entire file but formatted plain:
[[IncludeSource(trunk/proj/file.py, mimetype=text/plain)]]
For docs on installation, configuration, and examples, please refer to https://trac-hacks.org/wiki/IncludeSourcePartialPlugin
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
File details
Details for the file trac-IncludeSource-0.5.1.tar.gz
.
File metadata
- Download URL: trac-IncludeSource-0.5.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6906352425446899e1c91ff68c1cf14526f2a0fd8325ad0ad77dbda106301f16 |
|
MD5 | 04eaaa78873ea6a40cfc0f871cb9e4fb |
|
BLAKE2b-256 | 825dd42821947096e25229cf34cef378edec5292d6b75270f962a43bd9b19efe |
File details
Details for the file trac_IncludeSource-0.5.1-py2-none-any.whl
.
File metadata
- Download URL: trac_IncludeSource-0.5.1-py2-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7299db59dbfd6dc8b090ed1e4f0e77e1a4dd43ba43fccdb669f9a27b9d5bfed3 |
|
MD5 | 974af8f6c0f56122753ea3d6c46352ab |
|
BLAKE2b-256 | a8406dfc6677692a1fd596983f02ffac188fdc6587c8db5c20ce9efa8ef1d741 |