From ecc95e776265500e089bf907beb3f2e7fcf04e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E6=9C=A8?= <750154432@qq.com> Date: Wed, 10 Jan 2024 15:32:44 +0800 Subject: [PATCH] [feat](README.md): Add examples of ng-milkdown components and mention milkdown website [fix](component movement): Move code from tool-bar.component.ts to top-bar.component.ts --- src/app/components/README.md | 4 +++- .../{tool-bar.component.ts => top-bar.component.ts} | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) rename src/app/components/{tool-bar.component.ts => top-bar.component.ts} (99%) diff --git a/src/app/components/README.md b/src/app/components/README.md index 849b4b3..3469ed4 100644 --- a/src/app/components/README.md +++ b/src/app/components/README.md @@ -1,5 +1,8 @@ ## Example ng-milkdown components. +Following are some examples of ng-milkdown components, they are all based on [milkdown](https://milkdown.dev) + +- copilot - footnote: - footnote-def - footnote-ref @@ -22,4 +25,3 @@ - list-item - math-block - top-bar -- collab diff --git a/src/app/components/tool-bar.component.ts b/src/app/components/top-bar.component.ts similarity index 99% rename from src/app/components/tool-bar.component.ts rename to src/app/components/top-bar.component.ts index d73c6a6..47679b6 100644 --- a/src/app/components/tool-bar.component.ts +++ b/src/app/components/top-bar.component.ts @@ -59,7 +59,7 @@ import {CopilotService} from "./copilot/copilot.service"; ], standalone: true }) -export class ToolBarComponent { +export class TopBarComponent { @Input() provider: NgMilkdownProvider; constructor(private copilotService: CopilotService) {