Silverfin

The Silverfin Developer Hub

Welcome to the Silverfin developer hub. You'll find comprehensive guides and documentation to help you start working with Silverfin as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Comments

The comment tag is used to communicate with other programmers in your code.

Comment

Comments are an easy way to let other programmers know what you are doing without displaying code on the front end.
You always need an opening and closing comment to indicate which block should not be displayed.
Any text within the opening and closing comment blocks will not be in output and any code within the comment blocks will not be executed.

{% comment %}Start calculation of tax here{% endcomment %}
This is a line of text
Output
This is a line of text

input comment

Displaying something in input view and not in export view, can be done with an input comment.

📘

In Silverfin there's an input view with fields that can be modified and an export view where only text is shown.

{% ic %}This is only show in the input view{% endic %}
This is a line of text
Output (in input view)
This is only show in the input view
This is a line of text
Output (in export view)
This is a line of text

non input comment

Displaying something in export view and not in input view, can be done with a non input comment.

📘

In Silverfin there's an input view with fields that can be modified and an export view where only text is shown.

{% nic %}This is only show in the export view{% endnic %}
This is a line of text
Output (in input view)
This is a line of text
Output (in export view)
This is only show in the export view
This is a line of text

Updated 11 months ago

Comments


The comment tag is used to communicate with other programmers in your code.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.