quarto-web icon indicating copy to clipboard operation
quarto-web copied to clipboard

Add url-card shortcode

Open multimeric opened this issue 2 months ago • 3 comments

multimeric avatar Oct 31 '25 06:10 multimeric

Thanks! The shortcode is called url-card but the extension seems to be named QuartoCards

We do list under extension names. An extension can have several shortcodes for examples.

Do you plan to rename or should we use repo name ?

cderv avatar Oct 31 '25 19:10 cderv

Well I prefer QuartoCards as a repo name, in case I create more shortcodes. But I note there are a few repos like https://github.com/gadenbuie/quarto-partials and https://github.com/mcanouil/quarto-modal where the quarto- part is stripped off in the extensions page. This is what I was aiming for, because having Quarto in this list is a bit redundant. However, if your current policy is to not allow this, I might just rename the repo to quarto-cards to align with the style at least.

multimeric avatar Nov 01 '25 00:11 multimeric

I create more shortcodes.

I meant that if you do add more shortcode to it, we wouldn't create a new entry I guess. Or at least for now we do list repo once.

Idea of this listing is to list the existing extensions and not each feature they have.

For the example you listed, the repo name is different but extension name is related

  • title: Modal in _extensions/modal/_extension.yml for https://github.com/mcanouil/quarto-modal (source)
  • title: partials in _extensions/partials/_extension.yml for https://github.com/gadenbuie/quarto-partials (source)

In your case we have title: QuartoCards in _extensions/QuartoCards/_extension.yml (source). So extensions is really QuartoCards when you install it.

Hence my initial questions. For us, this would be one extension in the listed that could offer multiple shortcode. Does this clarify my initial comment ?

But I can see why listing shortcode name instead of extension could be useful for search... 🤔

cderv avatar Nov 03 '25 09:11 cderv