-
Hello, Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Marp (or Marpit) as a library is just outputting raw HTML and CSS so using inside Angular also should be possible in theory. However, you probable have to recognize how to integrate bare HTML and CSS with the framework well (e.g. Unfortunately a maintainer is not familiar to Angular so cannot provide a clear answer. FYI I've found a preceding use case of Marpit framework (+ reveal.js) within Angular component at https://github.com/SamuelNavD/yourslides/blob/master/frontend/src/app/components/slide-projector/slide-projector.component.ts. I don't know whether this code works correctly but may be partially helpful (NOTE: pay attention to open-source license, for using a part of codes written by the other). |
Beta Was this translation helpful? Give feedback.
Marp (or Marpit) as a library is just outputting raw HTML and CSS so using inside Angular also should be possible in theory. However, you probable have to recognize how to integrate bare HTML and CSS with the framework well (e.g.
[innerHTML]
binding without sanitize, applying the style from pure CSS, handling of view encapsulation, and so on).Unfortunately a maintainer is not familiar to Angular so cannot provide a clear answer.
FYI I've found a preceding use case of Marpit framework (+ reveal.js) within Angular component at https://github.com/SamuelNavD/yourslides/blob/master/frontend/src/app/components/slide-projector/slide-projector.component.ts. I don't know whether this code works c…