fixed article paragraph styling for real this time
This commit is contained in:
1 parent
29d7cdeb60
commit
98e179a334
2 files changed
+11
-8
No files matched your search
@@ -7,7 +7,7 @@ import {AuthService} from './shared/services/auth.service';
|
||||
import {AuthInterceptor} from './auth.interceptor';
|
||||
import {TranslateHttpLoader} from '@ngx-translate/http-loader';
|
||||
import {TranslateLoader, TranslateModule} from '@ngx-translate/core';
|
||||
import { provideMarkdown } from 'ngx-markdown';
|
||||
import {MARKED_OPTIONS, provideMarkdown} from 'ngx-markdown';
|
||||
|
||||
export function createTranslateLoader(http: HttpClient) {
|
||||
return new TranslateHttpLoader(http, '/i18n/', '.json');
|
||||
@@ -25,7 +25,14 @@ export const appConfig: ApplicationConfig = {
|
||||
),
|
||||
provideClientHydration(withEventReplay()),
|
||||
provideHttpClient(),
|
||||
provideMarkdown(),
|
||||
provideMarkdown({
|
||||
markedOptions: {
|
||||
provide: MARKED_OPTIONS,
|
||||
useValue: {
|
||||
breaks: true,
|
||||
},
|
||||
},
|
||||
}),
|
||||
AuthService,
|
||||
AuthInterceptor,
|
||||
importProvidersFrom(
|
||||
|
||||
Reference in new issue
Block a user