DataFormsJS v5.1.0 Release Notes
Release Date: 2020-11-21 // over 3 years ago-
- ๐ Changes will likely be published to NPM this weekend (November 21 or 22 of 2020)
- โ Add Web Component and Framework JavaScript Control for viewing Markdown:
js/web-components/markdown-content.js
https://github.com/dataformsjs/dataformsjs/blob/master/js/web-components/markdown-content.jsjs/controls/markdown-content.js
https://github.com/dataformsjs/dataformsjs/blob/master/js/controls/markdown-content.js- The
<markdown-content>
components use one of 3 widely used Markdown Libraries: marked, markdown-it, and remarkable - Additionally if highlight.js is included on the page it will be used for Syntax Highlighting.
- Options are preset, however the Web Component and related JS Control are small in size and easy to modify if you have a site with different markdown needs.
- ๐ Optimizations for
js/web-components/polyfill.js
so that it downloads fewer files on page load and has improved flexibility for adding addition Web Components in the future.