frontmatter-markdown-loader

📝 Webpack Loader for: FrontMatter (.md) -> HTML + Attributes (+ React/Vue Component)

MIT License

Downloads
38.8K
Stars
255
Committers
13
frontmatter-markdown-loader - v3.7.0: Requires markdown-it 12+ Latest Release

Published by hmsk over 2 years ago

  • Update markdown-it to use 12+
  • Update devDependencies

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

frontmatter-markdown-loader -

Published by hmsk over 3 years ago

  • Show an original error message by failing with unmatched Vue and its compiler's version
    • Declared Vue 3 isn't supported yet #238
  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.2...v3.6.3

frontmatter-markdown-loader -

Published by hmsk almost 4 years ago

  • Add /example which runs with the latest Webpack 5
  • Include only essential files in npm package
  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.1...v3.6.2

frontmatter-markdown-loader -

Published by hmsk almost 4 years ago

  • Include only essential files in npm package
  • Add /example which runs with the latest Webpack 5
  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.1...v3.6.2-0

frontmatter-markdown-loader -

Published by hmsk about 4 years ago

  • Update devDependencies
  • Fix a bug that React importing crashes with an unescaped backtick or backslash in a code block 1f6cf386376becbdb02fb08993371013c39b8386
    • Thanks @KoharaKazuya for reporting!

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.0...v3.6.1

frontmatter-markdown-loader -

Published by hmsk about 4 years ago

  • Escape backslashes and backticks for dangerouslySetInnerHTML
  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.1-0...v3.6.1-1

frontmatter-markdown-loader -

Published by hmsk about 4 years ago

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.0...v3.6.1-0

frontmatter-markdown-loader - v3.6.0: A couple of bugfixes

Published by hmsk over 4 years ago

  • Bugfixes
    • Imported React component shows className vs class error on the console for language specified code blocks
    • Imported React component can't render code blocks correctly (break lines are ignored)
      • Thanks @guillett for reporting the issue and trying on fixing 🙏
    • An object which is imported with require('markdown-it') can't be used for markdownIt option
  • Update devDependencies

These 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

frontmatter-markdown-loader - v3.6.0-1

Published by hmsk over 4 years ago

  • Fix code section processing RegEx #169
    • Thanks for your contribution @guillett !

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.6.0-0...v3.6.0-1

frontmatter-markdown-loader - v3.6.0-0

Published by hmsk over 4 years ago

  • Fix an unintentional behavior for <code> section on React (Reported in #166)
  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.5.0...v3.6.0-0

frontmatter-markdown-loader - v3.5.0 Require front-matter v4 and markdown-it v11

Published by hmsk over 4 years ago

  • Update dependencies
    • front-matter: ^4.0.0
    • markdown-it: ^11.0.0
  • Update some devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.3...v3.5.0

frontmatter-markdown-loader - v3.4.3

Published by hmsk over 4 years ago

  • Fix the bug: The unintentional preserving of <code> on VUE_* mode
  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.2...v3.4.3

frontmatter-markdown-loader - v3.4.2

Published by hmsk over 4 years ago

  • Fix the bug: "react.root" option doesn't work correctly #151
    • Thanks for your contribution @volkert 💖

Other Changes

  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.1...v3.4.2

frontmatter-markdown-loader - v3.4.1

Published by hmsk over 4 years ago

  • Fix bug: "vue-component", "vue-render-functions" mode don't work on IE11 #144
    • Thanks for your contribution @vinzBad 💖

Other Changes

  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.4.0...v3.4.1

frontmatter-markdown-loader - v3.4.0: Support react.root option

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.

Other Changes

  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.3.0...v3.4.0

frontmatter-markdown-loader - v3.3.0: Update loader-utils

Published by hmsk over 4 years ago

  • Use loader-utils: ^2.0.0
    • This expects Node 8 as a result

Other Changes

  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.2.1...v3.3.0

frontmatter-markdown-loader - v3.2.1: Support old browsers

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

Other changes

  • Update devDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.2.0...v3.2.1

frontmatter-markdown-loader - v3.2.0: xhtmlOut: true for React mode as default

Published by hmsk over 4 years ago

By #114, the default option for markdown-it on React mode gets { html: true, xhtmlOut: true } automatically.

Other Changes

  • Update devDependencies
  • Remove the deprecated badge for Dev Protocol

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.1.0...v3.2.0

frontmatter-markdown-loader - v3.1.0: Remove unnecessary dependencies

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.

Other Changes

  • Update dependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.0.0...v3.1.0

frontmatter-markdown-loader - v3.1.0-0

Published by hmsk almost 5 years ago

The beta is running with #78

  • Throw if implicit dependencies are not fulfilled
  • Delete optionalDependencies

https://github.com/hmsk/frontmatter-markdown-loader/compare/v3.0.0...v3.1.0-0

Package Rankings
Top 2.15% on Npmjs.org
Badges
Extracted from project README
npm GitHub Workflow Status