chore: remove unused syntax

- Removed the wikilink extension from markdown services in test and API service.
- Deleted the DefaultLink and WikiLink components, simplifying link handling.
- Updated ConditionalComponent to remove wikilink checks.
- Adjusted MemoContent to exclude wikilink handling in markdown rendering.
- Refined markdown styles for compact rendering, enhancing readability.
- Added a Markdown Styling Guide to document the new compact styling approach.
This commit is contained in:
Claude
2025-10-27 08:31:57 +08:00
parent 7eec424274
commit 596b894ca0
22 changed files with 370 additions and 764 deletions
-1
View File
@@ -39,7 +39,6 @@ func NewTestService(t *testing.T) *TestService {
secret := "test-secret"
markdownService := markdown.NewService(
markdown.WithTagExtension(),
markdown.WithWikilinkExtension(),
)
service := &apiv1.APIV1Service{
Secret: secret,
-1
View File
@@ -45,7 +45,6 @@ func NewAPIV1Service(secret string, profile *profile.Profile, store *store.Store
grpc.EnableTracing = true
markdownService := markdown.NewService(
markdown.WithTagExtension(),
markdown.WithWikilinkExtension(),
)
apiv1Service := &APIV1Service{
Secret: secret,