rename Markdown to Camelcase

This commit is contained in:
Wildan Nursahidan
2025-05-18 15:40:46 +07:00
parent 467bbaecba
commit d66f37085a
18 changed files with 23 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
import { ComponentProps } from "react"; import { ComponentProps } from "react";
import Copy from "./copy"; import Copy from "./CopyMdx";
export default function Pre({ export default function Pre({
children, children,

View File

@@ -32,22 +32,7 @@ To fill in the Release Note content that will be displayed on the Changelog page
## Preview : Render Output ## Preview : Render Output
<Accordion title="Show Render"> <Accordion title="Show Render">
## v1.3.0 - Jan 31, 2024 ![show demo changelog](/images/view-changelog.png)
> Release Note Feature to Make it Easier to Write Changelogs
![Your Image Alt Text](https://docubook.pro/images/example-img.png)
### Added
- New Release Note Feature
- New Layout for Changelog page
- New Changelog page
- add Release Note Component
- Easily write release notes directly from the CHANGELOG.md file
- Toc for versioning
- Write with the markdown tag
- add lib / changelog.ts
</Accordion> </Accordion>
## Changes Category ## Changes Category

View File

@@ -75,19 +75,19 @@
"title": "Components", "title": "Components",
"href": "/components", "href": "/components",
"items": [ "items": [
{ "title": "Stepper", "href": "/stepper" }, { "title": "Accordion", "href": "/accordion" },
{ "title": "Tabs", "href": "/tabs" }, { "title": "Button", "href": "/button" },
{ "title": "Note", "href": "/note" }, { "title": "Card", "href": "/card" },
{ "title": "Card Group", "href": "/card-group" },
{ "title": "Code Block", "href": "/code-block" }, { "title": "Code Block", "href": "/code-block" },
{ "title": "Image", "href": "/image" }, { "title": "Image", "href": "/image" },
{ "title": "Link", "href": "/link" }, { "title": "Link", "href": "/link" },
{ "title": "Youtube", "href": "/youtube" }, { "title": "Note", "href": "/note" },
{ "title": "Tooltips", "href": "/tooltips" },
{ "title": "Cards", "href": "/card" },
{ "title": "Card Group", "href": "/card-group" },
{ "title": "Button", "href": "/button" },
{ "title": "Accordion", "href": "/accordion" },
{ "title": "Release Note", "href": "/release-note" }, { "title": "Release Note", "href": "/release-note" },
{ "title": "Stepper", "href": "/stepper" },
{ "title": "Tabs", "href": "/tabs" },
{ "title": "Tooltips", "href": "/tooltips" },
{ "title": "Youtube", "href": "/youtube" },
{ "title": "Custom", "href": "/custom" } { "title": "Custom", "href": "/custom" }
] ]
}, },

View File

@@ -12,18 +12,18 @@ import matter from "gray-matter";
// custom components imports // custom components imports
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
import Pre from "@/components/markdown/pre"; import Pre from "@/components/markdown/PreMdx";
import Note from "@/components/markdown/note"; import Note from "@/components/markdown/NoteMdx";
import { Stepper, StepperItem } from "@/components/markdown/stepper"; import { Stepper, StepperItem } from "@/components/markdown/StepperMdx";
import Image from "@/components/markdown/image"; import Image from "@/components/markdown/ImageMdx";
import Link from "@/components/markdown/link"; import Link from "@/components/markdown/LinkMdx";
import Outlet from "@/components/markdown/outlet"; import Outlet from "@/components/markdown/OutletMdx";
import Youtube from "@/components/markdown/youtube"; import Youtube from "@/components/markdown/YoutubeMdx";
import Tooltip from "@/components/markdown/tooltips"; import Tooltip from "@/components/markdown/TooltipsMdx";
import Card from "@/components/markdown/card"; import Card from "@/components/markdown/CardMdx";
import Button from "@/components/markdown/button"; import Button from "@/components/markdown/ButtonMdx";
import Accordion from "@/components/markdown/accordion"; import Accordion from "@/components/markdown/AccordionMdx";
import CardGroup from "@/components/markdown/cardgroup"; import CardGroup from "@/components/markdown/CardGroupMdx";
// add custom components // add custom components
const components = { const components = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -99,11 +99,6 @@
border-radius: 8px; /* Sudut melengkung pada iframe */ border-radius: 8px; /* Sudut melengkung pada iframe */
} }
.youtube:hover {
transform: scale(1.05); /* Efek hover zoom */
transition: transform 0.3s ease;
}
li#changelog { li#changelog {
position: relative; position: relative;
padding-left: 1.5em; padding-left: 1.5em;