v0.4.0
💥 Breaking Change
- [BREAKING] Define Docfy plugin system + Rehype plugins + @docfy/plugin-with-prose (#75) @josemarluedke
Details
- Plugin system has now been defined, and it breaks any previous Docfy plugin.
- Docfy no longer renders content to HTML using
remark-html. In order to support rehype plugins, we have migrated toremark-rehypeandrehype-stringify. - Removes the need to use
.defaulton requiring the core:Using-const Docfy = require('@docfy/core').default; +const Docfy = require('@docfy/core');
.defaultno longer will work. - Drops support for Node v10
Other changes
- GitHub Flavored Markdown is now supported by default using
remark-gfm - New
@docfy/plugin-with-proseoptional plugin for TailwindCSS users that would like to add.proseclasses to markdown content. This will automatically skip any HTML or Ember Components in the markdown.
For Ember users:
If you are not using any custom docfy plugin, this upgrade will be most likely transparent.
🚀 Enhancement
- [Core] Remove unnecessary index (#73) @josemarluedke
🏠 Internal
- Move packages folder (#72) @josemarluedke
📦 Dependencies
- Upgrade Project Dependencies (#76) @josemarluedke
Contributors
For full changes, see the comparison between v0.3.1 and v0.4.0