frontmatter-markdown-loader icon indicating copy to clipboard operation
frontmatter-markdown-loader copied to clipboard

How can we pass the parsed html to html-loader?

Open zheeeng opened this issue 5 years ago • 5 comments

In some situation, we need some additional works to process on the html content by html-loader

zheeeng avatar Feb 24 '19 05:02 zheeeng

Interesting. Could you give more detail with the actual sample codes? I'd like to think about whether accepting html-loader options for html property.

As a workaround, you can intercept parsed HTML in markdown option by giving markdown compilation manually. https://github.com/hmsk/frontmatter-markdown-loader#use-your-own-markdown-compile

hmsk avatar Feb 24 '19 05:02 hmsk

We may reference some local assets which needed to be processed by html-loader.

zheeeng avatar Feb 24 '19 06:02 zheeeng

Understood, I may try to support that by some measures. It'll be great if you give actual settings for html-loader which you're using.

hmsk avatar Mar 01 '19 07:03 hmsk

I think this issue should be closed @hmsk regarding of merged https://github.com/hmsk/frontmatter-markdown-loader/pull/74

jefrydco avatar Dec 18 '19 07:12 jefrydco

No, this is not fully fulfilled. Imported html doesn't work as intentional. #74 is just for imported vue contents.

hmsk avatar Dec 18 '19 07:12 hmsk