Code Component Demonstration

FlowCard allows you to easily embed code blocks into your reports. Here's an example of a Python code snippet:

def greet(name: str) -> str:
    return f"Hello, {name}!"

print(greet(name="FlowCard User"))

You can specify the language for syntax highlighting. The above block should be highlighted as Python code.

Another Code Example: JavaScript

Here is a JavaScript example:

function welcome(message) {
  console.log(message);
}

welcome('Welcome to FlowCard code demos!');