Skip to content
Discussion options

You must be logged in to vote

They are generated via EJS and can be found here:

https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/projects/website/listing

They can be a little hard to adapt as they have a lot support for options and other conditions (which typically custom styles wouldn't need to support). They can provide a started but if they're hard to navigate, feel free to ask and we can try to provide some pointers or simpler examples.

Here is a recent example I provided of a very simple version of something closer to our 'default' style listing:

<div class="list quarto-listing-default">
<% for (const item of items) { %>

<div class="quarto-post image-<%= imageAlign %>" <%= listing.utilities.metad…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by petrbouchal
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dragonstyle
Comment options

Comment options

You must be logged in to vote
5 replies
@dragonstyle
Comment options

@emilyriederer
Comment options

@emilyriederer
Comment options

@mcanouil
Comment options

@dragonstyle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
listings themes Related to HTML theming or any other style related issue (like highlight-style)
4 participants