diff --git a/README.md b/README.md index 98df350..64bf4ad 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Add the script to your HTML: Then use the component in your HTML: +```html def my_function(param): """ A function that does something. @@ -24,6 +25,7 @@ def my_function(param): """ # YOUR CODE HERE +``` The component will preserve whitespace and indentation in the code, so you can write the Python code naturally in your HTML.