net.liftmodules.FoBoHL.snippet.FoBo
Snippet Params:
Snippet Params:
Example
<link data-lift="FoBo.HLResources.injectCSS?resources=github-gist"></link>
Result: This example will result in the following being injected in place of the snippet invocation:
<link href="/classpath/fobo/highlight/github-gist.css" rel="stylesheet" type="text/css" />
v1.3
Snippet Params:
Snippet Params:
Example
<script data-lift="FoBo.HLResources.injectJS?resources=highlight.pack"></script>
Result: This example will result in the following being injected in place of the snippet invocation:
<script src="/classpath/fobo/highlight/highlight.pack.js" type="text/javascript"></script>
v1.6
HLResources Snippet
This snippet class lets you inject FoBo Hightlight resources into your templates. Instead of hand write the resource tags you can use this helper snippet to inject it for you.
Example Invoke with
data-lift="FoBo.HLResources.functionName?paramName=paramValue&...."
For more examples see the individual transform functions.
v1.6