From 374bb15f83b647322bd7c7f822abfbcdeb9d0adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Sat, 24 Aug 2024 13:53:21 +0200 Subject: [PATCH] Fix bad markdown file --- doc/how_to/custom_components/esm/build.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/how_to/custom_components/esm/build.md b/doc/how_to/custom_components/esm/build.md index c895c03f96..4ad796bfc7 100644 --- a/doc/how_to/custom_components/esm/build.md +++ b/doc/how_to/custom_components/esm/build.md @@ -100,7 +100,8 @@ To recap here are the three files that we need: ::::{tab-set} -:::tab-item package.json +:::{tab-item} package.json + ```json { "name": "confetti-button", @@ -112,6 +113,8 @@ To recap here are the three files that we need: ::: :::{tab-item} confetti.py + +``` python import panel as pn from panel.custom import JSComponent @@ -123,9 +126,12 @@ class ConfettiButton(JSComponent): _esm = 'confetti.bundled.js' ConfettiButton().servable() +``` ::: + :::{tab-item} confetti.js +``` javascript import confetti from "canvas-confetti"; export function render() {