You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the markdown module inside my node_modules folder to parse some README.md files in some reusable components inside an external module. I tried to import the MarkdownModule with import {MarkdownModule} from "angular2-markdown"; inside my external.module.ts file in the node_modules folder. I also added the MarkdownModule.forRoot() to my imports inside the @NgModule decorator. When I use <markdown> ##Example## </markdown> inside an HTML file in my module, i receive the following error:
Unhandled Promise rejection: Template parse errors:
'markdown' is not a known element:
1. If 'markdown' is an Angular component, then verify that it is part of this module.
2. If 'markdown' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message.
Pointing to my Tag
Is it possible to use the markdown module inside the node_modules folder or do I have to find another way to parse my README.md files?
The text was updated successfully, but these errors were encountered:
I want to use the markdown module inside my node_modules folder to parse some README.md files in some reusable components inside an external module. I tried to import the
MarkdownModule
withimport {MarkdownModule} from "angular2-markdown";
inside my external.module.ts file in the node_modules folder. I also added theMarkdownModule.forRoot()
to my imports inside the@NgModule
decorator. When I use<markdown> ##Example## </markdown>
inside an HTML file in my module, i receive the following error:Pointing to my Tag
Is it possible to use the markdown module inside the node_modules folder or do I have to find another way to parse my README.md files?
The text was updated successfully, but these errors were encountered: