Skip to content

Instantly share code, notes, and snippets.

@jthomasmock
Last active February 27, 2024 15:43
Show Gist options
  • Star 36 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jthomasmock/11acebd4448f171f786e01397df34116 to your computer and use it in GitHub Desktop.
Save jthomasmock/11acebd4448f171f786e01397df34116 to your computer and use it in GitHub Desktop.
#### ---------------------------------------------
## 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)
@jthomasmock
Copy link
Author

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!!

@aborruso
Copy link

thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment