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.

Source Distribution

trac-IncludeSource-0.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trac_IncludeSource-0.5-py2-none-any.whl (6.4 kB view details)

Uploaded Python 2

File details

Details for the file trac-IncludeSource-0.5.tar.gz.

File metadata

  • Download URL: trac-IncludeSource-0.5.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

Hashes for trac-IncludeSource-0.5.tar.gz
Algorithm Hash digest
SHA256 805f575dc5b094bf218fdc17b073cf9a178ace6e69f4702efb3b11b6bc3c144c
MD5 157466e06ae22a9e34deb11556082664
BLAKE2b-256 026c2431001ce35d662028887665e16d8592facc38334066d7dc69e2f79c2449

See more details on using hashes here.

File details

Details for the file trac_IncludeSource-0.5-py2-none-any.whl.

File metadata

  • Download URL: trac_IncludeSource-0.5-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

Hashes for trac_IncludeSource-0.5-py2-none-any.whl
Algorithm Hash digest
SHA256 86bfef3445802243a089df79ab28a4ced2f44edf46549c07dfb5445c11143897
MD5 49713e55af83a491aab0d10367d6ed39
BLAKE2b-256 c8c10743c0c7b0d832e922a4d9d6917b73fa19d3b0267eb94043651d16817289

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page