https://github.com/alicanerdurmaz/cli-update-test
https://github.com/alicanerdurmaz/cli-update-test
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alicanerdurmaz/cli-update-test
- Owner: alicanerdurmaz
- Created: 2022-11-17T07:36:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T13:41:16.000Z (over 1 year ago)
- Last Synced: 2025-03-25T15:58:06.466Z (3 months ago)
- Language: JavaScript
- Size: 347 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---announcement
hidden: false---
refine Devtools beta version has been released, join the waitlist to try it out. https://s.refine.dev/devtools
---
---announcement
hidden: false---
Hello from refine team! Hope you enjoy! Join our Discord community to get help and discuss with other users. https://discord.gg/refine
---
---announcement
hidden: false---
```ts
const parseAnnouncement = (raw: string): Announcement => {
const fixed = raw.replace(ANNOUNCEMENT_DELIMITER, "---");
const parsed = matter(fixed);
const content = (
parsed.content.length === 0
? fixed.replace(/---/g, "")
: parsed.content.replace(/---/g, "")
).trim();return {
...parsed.data,
content,
} as Announcement;
};
```
---