MCPcopy
hub / github.com/npmx-dev/npmx.dev / useMarkdown

Function useMarkdown

app/composables/useMarkdown.ts:9–11  ·  view source on GitHub ↗
(options: MaybeRefOrGetter<UseMarkdownOptions>)

Source from the content-addressed store, hash-verified

7}
8
9export function useMarkdown(options: MaybeRefOrGetter<UseMarkdownOptions>) {
10 return computed(() => parseMarkdown(toValue(options)))
11}
12
13/**
14 * Each step strips one badge shape. Bounded quantifiers ({0,N}) guard against

Callers 1

Calls 1

parseMarkdownFunction · 0.85

Tested by

no test coverage detected