Skip to content

Use inside Angular application? #129

Answered by yhatt
vvalchev asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vvalchev
Comment options

@yhatt
Comment options

@vvalchev
Comment options

Answer selected by yhatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants