Skip to content
Discussion options

You must be logged in to vote

I don't know if it's the way your formatted your post or your actual document, but it fails to follow Pandoc/Markdown rules for list.

See the below properly formatted document.
---
title: "Demo"
format: html
---

1. Item 1

   ::: {.panel-tabset}
   ## R code

   ```r
   1 + 1 # R
   ```

   ## Python code

   ```python
   1 + 1 # Python
   ```
   :::

2. Item 2
  
   ::: {.panel-tabset}
   ## R code

   ```r
   2 + 2 # R
   ```

   ## Python code

   ```python
   2 + 2 # Python
   ```
   :::

Something that is not an item.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cudawarped
Comment options

@cscheid
Comment options

@cudawarped
Comment options

Answer selected by cudawarped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants