External Content

From RaySoft

The External Content extension allows for embedding external content, such as markdown files, in your wiki pages. [1]

Parameters

lang
One of the supported languages. Only necessary if the language is not detected from the file extension.
line
Show line numbers.

Examples

Include external content from GitHub
{{#embed:https://github.com/ProfessionalWiki/ExternalContent/blob/master/src/EmbedExtensionFactory.php|lang=php|line}}

Output:

{{#embed:https://github.com/ProfessionalWiki/ExternalContent/blob/master/src/EmbedExtensionFactory.php%7Clang=php%7Cline}}

References

  1. Professional Wiki. "Extension:External Content." MediaWiki Foundation. https://www.mediawiki.org/wiki/Extension:External_Content (accessed 19.10.2023)