Gist Class

Summary

Embeds a GitHub gist.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Shortcodes.Html
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IShortcode"] click Interface0 "/api/Wyam.Common.Shortcodes/IShortcode" Type["Gist"] class Type type-node

Syntax

public class Gist : IShortcode

Examples

Example usage:

<?# Gist 10a2f6e0186fa34b8a7b4bd7d436785d /?>

Example output:

<script src="//gist.github.com/10a2f6e0186fa34b8a7b4bd7d436785d.js" type="text/javascript"></script>

Methods

Name Value Summary
Execute(KeyValuePair<string, string>[], string, IDocument, IExecutionContext) IShortcodeResult
Executes the shortcode and returns an Wyam.Common.Shortcodes.IShortcodeResult.
GitHub