Skip to content

whitphx/quarto-stlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stlite Extension For Quarto

TODO: Add a short description of your extension.

Installing

quarto add whitphx/quarto-stlite

This will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Using

Put this in the header of your document, or in the _quarto.yml file:

filters:
  - whitphx/stlite

Then you can put the code for an stlite (Streamlit) application in a code block marked with {stlite-python}.

---
title: stlite in Quarto example
format: html
filters:
  - whitphx/stlite
---

This is an stlite application embedded in a Quarto doc.

```{stlite-python}
import streamlit as st

st.title("Hello Quarto!")
```

Example

Here is the source code for a minimal example: example.qmd.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published