kzhamaji / includemacro Goto Github PK
View Code? Open in Web Editor NEWPrivate fork of https://trac-hacks.org/wiki/IncludeMacro to manage local patches.
License: Other
Private fork of https://trac-hacks.org/wiki/IncludeMacro to manage local patches.
License: Other
Notes ===== This macro lets you include various things. Currently supported sources: * HTTP - ``http:`` and ``https:`` * FTP - ``ftp:`` * Wiki pages - ``wiki:`` * Repository files - ``source:`` * Ticket comments - ``ticket:N:comment:M`` (3.0dev, syntax may be changed before release) The default source is ``wiki`` if only a source path is given. An optional second argument sets the output MIME type, though in most cases the default will be correct. Permissions =========== The three remote sources (``http``, ``https``, and ``ftp``) require ``INCLUDE_URL`` to be rendered. Anyone can add a call to these, however they will not be shown. This is **not** a replacement for ``render_unsafe_content``, see below. Configuration ============= If ``[wiki] render_unsafe_content`` is off (the default), any produced HTML will be sanitized. .. caution:: This is a potential security risk! Please review the implications ``render_unsafe_content`` before using this feature. To enable the plugin:: [components] includemacro.* = enabled Example ======= Include another wiki page:: [[Include(PageName)]] Include the HEAD revision of a reStructuredText__ file from the repository:: [[Include(source:trunk/docs/README, text/x-rst)]] Include a specific revision of a file from the repository:: [[Include(source:trunk/docs/README@5, text/x-rst)]] __ http://docutils.sf.net/rst.html .. tip:: If you set the ``svn:mime-type`` property on the file, you can leave off the explicit MIME type.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.