mirror of
https://github.com/usememos/memos.git
synced 2026-12-03 09:19:13 +01:00
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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user