Skip to content

Commit

Permalink
feat: refactor code snippets + support regions (#40)
Browse files Browse the repository at this point in the history
* feat: code snippet refactor + regions

* refactor

* docs
  • Loading branch information
jxom authored Jan 19, 2024
1 parent fd205a2 commit 41ba59f
Show file tree
Hide file tree
Showing 13 changed files with 395 additions and 109 deletions.
5 changes: 5 additions & 0 deletions .changeset/nasty-ladybugs-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vocs": major
---

**Breaking:** Removed the `::snip` directive. Use the `// [!include]` marker instead. [See more.](https://vocs.dev/docs/guides/code-snippets)
5 changes: 5 additions & 0 deletions .changeset/strange-lions-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vocs": minor
---

Added support for [regions in code snippets](https://vocs.dev/docs/guides/code-snippets#regions).
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"tsx": "^4.6.1",
"typescript": "^5.2.2",
"vercel": "^32.5.6",
"viem": "^2.1.1",
"vocs": "workspace:*"
},
"simple-git-hooks": {
Expand Down
91 changes: 90 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 41ba59f

Please sign in to comment.