📝 Webpack Loader for: FrontMatter (.md) -> HTML + Attributes (+ React/Vue Component)
MIT License
Published by hmsk over 2 years ago
markdown-it
to use 12+This release will be the last version which supports Webpack 4 and Vue 2
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.3...v3.7.0
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.2...v3.6.3
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.1...v3.6.2
/example
which runs with the latest Webpack 5https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.1...v3.6.2-0
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.0...v3.6.1
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.1-0...v3.6.1-1
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.0...v3.6.1-0
Published by hmsk over 4 years ago
className
vs class
error on the console for language specified code blocksrequire('markdown-it')
can't be used for markdownIt
optionThese fixes for imported React components aren't sufficient strictly, the next release will bring persistent fixes with having an HTML parser.
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.5.0...v3.6.0
Published by hmsk over 4 years ago
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.0-0...v3.6.0-1
Published by hmsk over 4 years ago
<code>
section on React (Reported in #166)https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.5.0...v3.6.0-0
Published by hmsk over 4 years ago
^4.0.0
^11.0.0
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.3...v3.5.0
Published by hmsk over 4 years ago
<code>
on VUE_* modehttps://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.2...v3.4.3
Published by hmsk over 4 years ago
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.1...v3.4.2
Published by hmsk over 4 years ago
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.0...v3.4.1
Published by hmsk over 4 years ago
Add new option react.root
for the similar purpose of vue.root
.
options: {
mode: [Mode.REACT],
react: {
root: "importedFromMarkdown"
}
}
Imported React component renders a root element as div.importedFromMarkdown
The default class is .frontmatter-markdown
now. This change may be breaking change if you expected the root component doesn't have any class.
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.3.0...v3.4.0
Published by hmsk over 4 years ago
loader-utils: ^2.0.0
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.2.1...v3.3.0
Published by hmsk over 4 years ago
Get rid of an arrow function and Object.entries
from outputs to support old browsers more.
Thanks for your contribution! @austinsheep #120
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.2.0...v3.2.1
Published by hmsk over 4 years ago
By #114, the default option for markdown-it on React mode gets { html: true, xhtmlOut: true }
automatically.
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.1.0...v3.2.0
Published by hmsk almost 5 years ago
As #78, remove optionalDependencies
to avoid installing unexpected modules. If your project uses a mode but the required modules are not installed, the loader throws an error for the project's build.
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.0.0...v3.1.0
Published by hmsk almost 5 years ago
The beta is running with #78
optionalDependencies
https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.0.0...v3.1.0-0