Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for trac-IncludeSource, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size trac_IncludeSource-0.5-py2-none-any.whl (6.4 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size trac-IncludeSource-0.5.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page