Last active
September 6, 2024 21:05
-
-
Save jthomasmock/11acebd4448f171f786e01397df34116 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### --------------------------------------------- | |
## Edit via: RStudio > Tools > Edit Code Snippets | |
# Released under a MIT license | |
snippet fragment | |
[${1:text}]{.${2:type}} | |
snippet aside | |
[${1:text}]{.aside} | |
snippet fence | |
:::{.${1:type}} | |
${2:body} | |
::: | |
snippet panel | |
::: {.panel-tabset} | |
${1:body} | |
::: | |
snippet column | |
:::: {.columns} | |
::: {.column width="50%"} | |
Left column | |
::: | |
::: {.column width="50%"} | |
Right column | |
::: | |
:::: | |
# Code image at: ![](https://i.imgur.com/jhOo3mq.png) |
Very helpful. Perhaps change the filename to markdown.snippets because that's the filename RStudio saves these in, and GitHub automatically provides syntax highlighting for .snippets files.
Very helpful. Perhaps change the filename to markdown.snippets because that's the filename RStudio saves these in, and GitHub automatically provides syntax highlighting for .snippets files.
Excellent, done!!
thank you very much
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's the vscode equivalent.
To use it
quarto.json
.qmd
file, call "Insert snippet" from the command palette (cmd+shift+p) and select the respective snippet