Snippets
SNIPPETEliteWise

Snippets

Transfer selected code snippets from Visual Studio Code to your Obsidian Vault

CSSAny theme
# **Obsidian Snippets**

Transfer selected code snippets from Visual Studio Code to your Obsidian Vault. This extension create organized Markdown notes for your code blocks/snippets in one click.

---

## **[Download from VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=EliteWise.obsidian-snippets)**

---

## **Features**

- 💾 **One-Click Save:** Right-click any code to save it as a Markdown note in Obsidian

- 📂 **Auto-Organization:** Your snippets are automatically saved by date with the correct language type (JavaScript, Python, etc.) in the Snippets folder

<!-- ![Obsidian Snippets Workflow](images/obsidian-snippets-demo.png) -->

---

## **Requirements**

- **Obsidian** installed on your machine. [Download here](https://obsidian.md/download)
- **VS Code** version 1.75.0 or higher.

---

## **How to Use**

1. **Save a Snippet**:
   - Select a block of code from any VS Code file
   - Right-click and select **"Copy selected code to Obsidian"**
   - Choose your Obsidian Vault location (first time only)
   - Done! Your code is now in the Snippets folder

2. **View in Obsidian**:
   - Open Obsidian → Go to "Snippets" folder
   - Or click "Open File in VS Code?" right after copying

---

## **Feedback and Support**

Have suggestions or encountered a bug? Open an issue on [GitHub](https://github.com/EliteWise/obsidian-snippets).

---

## **For Developers**

Follow the [VS Code Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines) for best practices when contributing or forking this extension.

---

## **Enjoy!** 🎯

Related

How to Install

  1. Download the CSS file below
  2. Move it to your vault's .obsidian/snippets/ folder
  3. Open Obsidian → Settings → Appearance → CSS Snippets → Enable it
Download snippet.css

Stats

Stars

5

Forks

0

License

NOASSERTION

Last updated 15mo ago

Categories