-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
For now, the source map will ignore the markdown component. It will be better to have a source map with source of generated html or markdown better.
Suggested solution
Is this broken the source map?
export function createMarkdown(options: ResolvedOptions) {
...
return {
code,
map: { mappings: '' } as any,
}
}(And the defined missing excerpt and frontmatter. It better to be:
declare module "*.md" {
import type { defineComponent, ComponentObjectPropsOptions, HTMLAttributes } from "vue";
const frontmatter: { [key: string]: string | typeof frontmatter | undefined };
const component: ReturnType<typeof defineComponent<HTMLAttributes, ComponentObjectPropsOptions, string, {}, {}, string, { excerpt?: string, frontmatter?: typeof frontmatter }>>;
export default component;
}Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request