Reference an external source file


Use sourceref shorthand notation to assign a URL hyperlink, or a source file reference, or a data source, or a server target.


Sourceref shorthand assigns an href, src, action, data or cite attribute to a phrase. The BLUEPROCESSOR automatically determines which attribute name applies, based on the phrase's semantax.

Sourceref syntax consists of opening and closing grave-accent ` ` delimiters, with a filename, path, or URL in between.

Each phrase may have only one sourceref attribute.

semantax `path/to/filename` Textual composition

semantax `URL` Textual composition
Sourceref shorthand notation

Shorthand attributes should be placed between a phrase's semantax and its textual composition. Shorthand attributes may optionally be preceded by one or more spaces. At least one space must be used after the last shorthand attribute, before the beginning of the textual composition.

A phrase may have any combination of shorthand attributes (#, ., *, ^, `, +, ? ) and they may specified in any order.


Here is what a sourceref attribute looks like within the body of a manuscript.

head {
link `theme.css` *rel=stylesheet *type=text/css
body {
form `#` {
input `submit-button.gif` *type=image
object `burundi.swf` *width=400 *height=400
blockquote `` {
Burundi is a landlocked country in Africa ...
Sourceref shorthand examples

syntax > shorthand > sourcerefReference an external source file

🔗 🔎