initial commit.
This commit is contained in:
BIN
.vscode/.DS_Store
vendored
Normal file
BIN
.vscode/.DS_Store
vendored
Normal file
Binary file not shown.
14
.vscode/accordion.code-snippets
vendored
Normal file
14
.vscode/accordion.code-snippets
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"DocuAccordion": {
|
||||||
|
"prefix": "accordion",
|
||||||
|
"body": [
|
||||||
|
"<Accordion title=\"${1:Plain Text}\">",
|
||||||
|
" this is an example of plain text content from the accordion component and below is markdown ;",
|
||||||
|
" 1. number one",
|
||||||
|
" 2. number two",
|
||||||
|
" 3. number three",
|
||||||
|
"</Accordion>"
|
||||||
|
],
|
||||||
|
"description": "Create a DocuAccordion component with markdown list."
|
||||||
|
}
|
||||||
|
}
|
||||||
16
.vscode/button.code-snippets
vendored
Normal file
16
.vscode/button.code-snippets
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"DocuButton": {
|
||||||
|
"prefix": "button",
|
||||||
|
"body": [
|
||||||
|
"<Button",
|
||||||
|
" text=\"${1:Learn More}\"",
|
||||||
|
" href=\"${2:https://learn.example.com}\"",
|
||||||
|
" icon=\"${3:MoveUpRight}\"",
|
||||||
|
" size=\"${4:md}\"",
|
||||||
|
" target=\"${5:_blank}\"",
|
||||||
|
" variation=\"${6:primary}\"",
|
||||||
|
"/>"
|
||||||
|
],
|
||||||
|
"description": "Create a DocuButton component on markdown."
|
||||||
|
}
|
||||||
|
}
|
||||||
16
.vscode/card.code-snippets
vendored
Normal file
16
.vscode/card.code-snippets
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"DocuCards": {
|
||||||
|
"prefix": "card",
|
||||||
|
"body": [
|
||||||
|
"<CardGroup cols={2}>",
|
||||||
|
"<Card title=\"${1:Heading2}\" icon=\"${2:Heading2}\">",
|
||||||
|
" This is an example of card content with columns.",
|
||||||
|
"</Card>",
|
||||||
|
"<Card title=\"${3:Heading3}\" icon=\"${4:Heading3}\">",
|
||||||
|
" This is an example of card content with columns.",
|
||||||
|
"</Card>",
|
||||||
|
"</CardGroup>"
|
||||||
|
],
|
||||||
|
"description": "Create a DocuCards component on markdown."
|
||||||
|
}
|
||||||
|
}
|
||||||
16
.vscode/codeblock.code-snippets
vendored
Normal file
16
.vscode/codeblock.code-snippets
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"DocuCodeBlock": {
|
||||||
|
"prefix": "codeblock",
|
||||||
|
"description": "Checks if the rocket is stable and prevents a crash if it's not.",
|
||||||
|
"body": [
|
||||||
|
"```${1:javascript:main.js} showLineNumbers {${2:3-4}}",
|
||||||
|
"function isRocketAboutToCrash() {",
|
||||||
|
" // Check if the rocket is stable",
|
||||||
|
" if (!isStable()) {",
|
||||||
|
" NoCrash(); // Prevent the crash",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
"```",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
}
|
||||||
3
.vscode/extensions.json
vendored
Normal file
3
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"recommendations": []
|
||||||
|
}
|
||||||
16
.vscode/image-link.code-snippets
vendored
Normal file
16
.vscode/image-link.code-snippets
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"DocuImage": {
|
||||||
|
"prefix": "image",
|
||||||
|
"body": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"description": "Snippet untuk menampilkan image komponen."
|
||||||
|
},
|
||||||
|
"DocuLink": {
|
||||||
|
"prefix": "link",
|
||||||
|
"body": [
|
||||||
|
"[${1:Text Link}](${2:https://www.openai.com})"
|
||||||
|
],
|
||||||
|
"description": "Snippet untuk menampilkan link komponen."
|
||||||
|
}
|
||||||
|
}
|
||||||
13
.vscode/metadata.code-snippets
vendored
Normal file
13
.vscode/metadata.code-snippets
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"DocuMetadata": {
|
||||||
|
"prefix": "metadata",
|
||||||
|
"body": [
|
||||||
|
"---",
|
||||||
|
"title : ${1:judul post}",
|
||||||
|
"description : ${2:deskripsi singkat dari post}",
|
||||||
|
"date : ${3:10-12-2024}",
|
||||||
|
"---"
|
||||||
|
],
|
||||||
|
"description": "Snippet untuk membuat metadata."
|
||||||
|
}
|
||||||
|
}
|
||||||
38
.vscode/note.code-snippets
vendored
Normal file
38
.vscode/note.code-snippets
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"DocuNote - General Note": {
|
||||||
|
"prefix": "note",
|
||||||
|
"body": [
|
||||||
|
"<Note type=\"note\" title=\"Note\">",
|
||||||
|
" ${1:This is a general note to convey information to the user.}",
|
||||||
|
"</Note>"
|
||||||
|
],
|
||||||
|
"description": "Insert a general note"
|
||||||
|
},
|
||||||
|
"DocuNote - Danger Note": {
|
||||||
|
"prefix": "danger",
|
||||||
|
"body": [
|
||||||
|
"<Note type=\"danger\" title=\"Danger\">",
|
||||||
|
" ${1:This is a danger alert to notify the user of a critical issue.}",
|
||||||
|
"</Note>"
|
||||||
|
],
|
||||||
|
"description": "Insert a danger note"
|
||||||
|
},
|
||||||
|
"DocuNote - Warning Note": {
|
||||||
|
"prefix": "warning",
|
||||||
|
"body": [
|
||||||
|
"<Note type=\"warning\" title=\"Warning\">",
|
||||||
|
" ${1:This is a warning alert for issues that require attention.}",
|
||||||
|
"</Note>"
|
||||||
|
],
|
||||||
|
"description": "Insert a warning note"
|
||||||
|
},
|
||||||
|
"DocuNote - Success Note": {
|
||||||
|
"prefix": "success",
|
||||||
|
"body": [
|
||||||
|
"<Note type=\"success\" title=\"Success\">",
|
||||||
|
" ${1:This is a success message to inform the user of successful actions.}",
|
||||||
|
"</Note>"
|
||||||
|
],
|
||||||
|
"description": "Insert a success note"
|
||||||
|
}
|
||||||
|
}
|
||||||
24
.vscode/stepper.code-snippets
vendored
Normal file
24
.vscode/stepper.code-snippets
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"DocuStepper": {
|
||||||
|
"prefix": "stepper",
|
||||||
|
"body": [
|
||||||
|
"<Stepper>",
|
||||||
|
" <StepperItem title=\"${1:Step 1: Clone the DocuBook Repository}\">",
|
||||||
|
" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec interdum,",
|
||||||
|
" felis sed efficitur tincidunt, justo nulla viverra enim, et maximus nunc",
|
||||||
|
" dolor in lorem.",
|
||||||
|
" </StepperItem>${2:}",
|
||||||
|
"</Stepper>"
|
||||||
|
],
|
||||||
|
"description": "Snippet untuk menampilkan stepper komponen."
|
||||||
|
},
|
||||||
|
"DocuStepperItem": {
|
||||||
|
"prefix": "item",
|
||||||
|
"body": [
|
||||||
|
"<StepperItem title=\"${1:Step X: Your Step Title}\">",
|
||||||
|
" ${2:Your step description here.}",
|
||||||
|
"</StepperItem>${3:}"
|
||||||
|
],
|
||||||
|
"description": "Snippet untuk menambahkan item baru ke dalam Stepper."
|
||||||
|
}
|
||||||
|
}
|
||||||
20
.vscode/table.code-snippets
vendored
Normal file
20
.vscode/table.code-snippets
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"DocuTable": {
|
||||||
|
"prefix": "table",
|
||||||
|
"body": [
|
||||||
|
"| **${1:Feature}** | **${2:Description}** |",
|
||||||
|
"| ------------------------------- | ----------------------------------------------------- |",
|
||||||
|
"| ${3:MDX Support} | ${4:Write interactive documentation with MDX.} |",
|
||||||
|
"| Nested Pages | Organize content in a nested, hierarchical structure. |",
|
||||||
|
"| Blog Section | Include a dedicated blog section. |",
|
||||||
|
"| Pagination | Split content across multiple pages. |",
|
||||||
|
"| Syntax Highlighting | Highlight code for better readability. |",
|
||||||
|
"| Code Line Highlighting & Titles | Highlight specific lines with descriptive titles. |",
|
||||||
|
"| Interactive Code Blocks | Language-specific and interactive code display. |",
|
||||||
|
"| Custom Markdown Components | Embed custom, reusable components in your docs. |",
|
||||||
|
"| Static Site Generation | Generate a static, high-performance site. |",
|
||||||
|
"| SEO-Optimized | Structured for optimal search engine indexing. |"
|
||||||
|
],
|
||||||
|
"description": "Create a DocuTable component on markdown."
|
||||||
|
}
|
||||||
|
}
|
||||||
33
.vscode/tabs.code-snippets
vendored
Normal file
33
.vscode/tabs.code-snippets
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"DocuTabs": {
|
||||||
|
"prefix": "tabs",
|
||||||
|
"body": [
|
||||||
|
"<Tabs defaultValue=\"${1:java}\" className=\"pt-5 pb-1\">",
|
||||||
|
" <TabsList>",
|
||||||
|
" <TabsTrigger value=\"${2:java}\">Java</TabsTrigger>",
|
||||||
|
" <TabsTrigger value=\"${3:typescript}\">TypeScript</TabsTrigger>",
|
||||||
|
" </TabsList>",
|
||||||
|
" <TabsContent value=\"${4:java}\">",
|
||||||
|
" ```java",
|
||||||
|
" // HelloWorld.java",
|
||||||
|
" public class HelloWorld {",
|
||||||
|
" public static void main(String[] args) {",
|
||||||
|
" System.out.println(\"Hello, World!\");",
|
||||||
|
" }",
|
||||||
|
" }",
|
||||||
|
" ```",
|
||||||
|
" </TabsContent>",
|
||||||
|
" <TabsContent value=\"${5:typescript}\">",
|
||||||
|
" ```typescript",
|
||||||
|
" // helloWorld.ts",
|
||||||
|
" function helloWorld(): void {",
|
||||||
|
" console.log(\"Hello, World!\");",
|
||||||
|
" }",
|
||||||
|
" helloWorld();",
|
||||||
|
" ```",
|
||||||
|
" </TabsContent>",
|
||||||
|
"</Tabs>"
|
||||||
|
],
|
||||||
|
"description": "Create a DocuTabs component with Java and TypeScript examples."
|
||||||
|
}
|
||||||
|
}
|
||||||
9
.vscode/tooltips.code-snippets
vendored
Normal file
9
.vscode/tooltips.code-snippets
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"DocuTooltips": {
|
||||||
|
"prefix": "tooltips",
|
||||||
|
"body": [
|
||||||
|
"${1:What do you know about }<Tooltip text=\"${2:DocuBook}\" tip=\"${3:npx @docubook/create@latest}\" /> ${4:? Create interactive nested documentations using MDX.}",
|
||||||
|
],
|
||||||
|
"description": "Create a DocuTooltips component with version examples."
|
||||||
|
}
|
||||||
|
}
|
||||||
33
.vscode/typography.code-snippets
vendored
Normal file
33
.vscode/typography.code-snippets
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"DocuH2": {
|
||||||
|
"prefix": "h2",
|
||||||
|
"body": [
|
||||||
|
"## Heading 2"
|
||||||
|
],
|
||||||
|
"description": "Tag Heading 2 for markdown."
|
||||||
|
},
|
||||||
|
"DocuH3": {
|
||||||
|
"prefix": "h3",
|
||||||
|
"body": [
|
||||||
|
"### Heading 3"
|
||||||
|
],
|
||||||
|
"description": "Tag Heading 3 for markdown."
|
||||||
|
},
|
||||||
|
"DocuText": {
|
||||||
|
"prefix": "text",
|
||||||
|
"body": [
|
||||||
|
"DocuBook is proudly **open-source**! 🎉 We believe in creating an accessible, collaborative platform that thrives on community contributions."
|
||||||
|
],
|
||||||
|
"description": "Tag Paragraph for markdown."
|
||||||
|
},
|
||||||
|
"Docu-UndorderList": {
|
||||||
|
"prefix": "unorderlist",
|
||||||
|
"body": [
|
||||||
|
"- ${1:**Next.js 14** - The powerful React framework optimized for production.}",
|
||||||
|
"- **Tailwind CSS** - Utility-first styling for quick, clean designs.",
|
||||||
|
"- **Shadcn-UI** - Elegant, accessible components for a polished look.",
|
||||||
|
"- **next-mdx-remote** - Enables MDX support for dynamic, interactive Markdown content."
|
||||||
|
],
|
||||||
|
"description": "Tag Undorderlist for markdown."
|
||||||
|
},
|
||||||
|
}
|
||||||
9
.vscode/youtube.code-snippets
vendored
Normal file
9
.vscode/youtube.code-snippets
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"DocuVideo": {
|
||||||
|
"prefix": "youtube",
|
||||||
|
"body": [
|
||||||
|
"<Youtube videoId=\"${1:zQnBQ4tB3ZA}\" />"
|
||||||
|
],
|
||||||
|
"description": "Snippet untuk menampilkan komponen video Youtube."
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user