99c7e02499
* Add support for embed parameter that skips the shell layout * Add support for cards with remote content * Adapt js to support lazy-loaded fragments * Add example * Reformat & Fix lint errors * Update query param name and add docs * Add example * squash migrations --------- Co-authored-by: lovasoa <pere.jobs@gmail.com>
22 lines
658 B
SQL
22 lines
658 B
SQL
select
|
|
'card' as component,
|
|
2 as columns;
|
|
select
|
|
'A card with a Markdown description' as title,
|
|
'This is a card with a **Markdown** description.
|
|
|
|
This is useful if you want to display a lot of text in the card, with many options for formatting, such as
|
|
- **bold**,
|
|
- *italics*,
|
|
- [links](index.sql),
|
|
- etc.' as description_md;
|
|
select
|
|
'A card with lazy-loaded chart' as title,
|
|
'/chart-example.sql?_sqlpage_embed' as embed;
|
|
select
|
|
'A card with lazy-loaded map' as title,
|
|
'/map-example.sql?_sqlpage_embed' as embed;
|
|
select
|
|
'A card with lazy-loaded table' as title,
|
|
'/table-example.sql?_sqlpage_embed' as embed;
|