Skip to content

ngx-mdlib-pure 0.1.0 (npm tarball)

Choose a tag to compare

@MichelePolo MichelePolo released this 29 Oct 08:43

ngx-mdlib-pure 0.1.0, the Angular wrapper of mdlib-pure, as an npm tarball. Neither it nor mdlib-pure is on the npm registry yet: install both by URL.

npm install https://github.com/MichelePolo/mdlib-pure/releases/download/mdlib-pure-v0.1.0/mdlib-pure-0.1.0.tgz \
  https://github.com/MichelePolo/mdlib-pure/releases/download/angular-v0.1.0/ngx-mdlib-pure-0.1.0.tgz
npm install katex mermaid   # optional: math and diagrams
  • Angular 21 and 22: standalone MarkdownEditor (<mdlib-editor [(value)]>, a ControlValueAccessor for ngModel and reactive forms) and MarkdownViewer (<mdlib-markdown [source]>), no CUSTOM_ELEMENTS_SCHEMA.
  • provideMdlibPure({ loaders, configs }); MarkdownService for the AST, the table of contents and HTML, also on the server.
  • SSR with hydration (@angular/ssr), zoneless.
  • Peer dependencies: @angular/core, @angular/common, @angular/forms ^21.0.0 || ^22.0.0, mdlib-pure ^0.1.0.

Guide: bindings/angular/README.md · on the site: https://michelepolo.github.io/mdlib-pure/docs/angular/

Built from 59bcab7 with npm run angular:pack. SHA-256 of ngx-mdlib-pure-0.1.0.tgz: 3699b1cda9e1c7eac06dde99235595546e6025a249cf23affe21ebfdb9c4a03b