Documentation

Demo App

When updating the demo app there are CSS styles and snippets that can help you out. Below are some examples.
To add a code snippet in the demo app use:
1
<Label StyleClass="code">
2
{{ '<Rock:Image Source="https://yourserver.com/photo.jpg" />' | XamlWrap }}
3
</Label>
Copied!
Result:
Note the code CSS class handles the styling. For code snippets that are more than one line you'll need to use a Lava capture.
1
<Label StyleClass="code">
2
{% capture source %}<Button Text="Action Name"
3
StyleClass="btn, btn-primary-outline" />{% endcapture %}{{ source | XamlWrap }}</Label>
Copied!
Last modified 1yr ago
Copy link