We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda1a31 commit da5a746Copy full SHA for da5a746
packages/astro/src/remark/import-file.ts
@@ -48,6 +48,7 @@ export function remarkImportFilePlugin(options: RemarkImportFilePluginOptions) {
48
49
if (content) {
50
node.value = content;
51
+ node.meta += ' path=' + node.lang;
52
node.lang = path.extname(relativeFilePath).slice(1);
53
}
54
0 commit comments