Closed
Description
Describe the bug
There are no errors, no warnings, nothing. And the preview does open but it's blank!
I tried to take as much as I can from https://github.com/ghiscoding/angular-markdown-editor/blob/master/src/app/template/template.component.ts
I have a feeling that your library is still on the old version of ngx-markdown
maybe? the only difference between my work and yours is MARKED_OPTIONS
instead of MarkedOptions
in module imports (forRoot) that you have.
Reproduction
importProvidersFrom(
MarkdownModule.forRoot({
loader: HttpClient,
markedOptions: {
provide: MARKED_OPTIONS,
useValue: {
gfm: true,
breaks: false,
pedantic: false,
smartLists: true,
smartypants: false
}
}
}),
AngularMarkdownEditorModule.forRoot({ iconlibrary: 'fa' })
)
The rest is from the template and documentation.
Environment Info
Angular 19.2.10
angular-markdown-editor 3.1.1
Validations
- Follow our Code of Conduct
- Read the HOWTO - Step by Step.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
No labels