web: Client-side MDX rendering (#13610)
* web: Allow build errors to propagate. * web: Refactor MDX for client-side rendering. * Remove override Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com> * revert css for links and tables Signed-off-by: Jens Langhammer <jens@goauthentik.io> * web: Move Markdown specific styles. --------- Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		
							
								
								
									
										12
									
								
								web/src/global.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								web/src/global.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -2,18 +2,18 @@ declare module "*.css"; | ||||
|  | ||||
| declare module "*.md" { | ||||
|     /** | ||||
|      * The HTML content of the markdown file. | ||||
|      * The serialized JSON content of an MD file. | ||||
|      */ | ||||
|     const html: string; | ||||
|     export default html; | ||||
|     const serializedJSON: string; | ||||
|     export default serializedJSON; | ||||
| } | ||||
|  | ||||
| declare module "*.mdx" { | ||||
|     /** | ||||
|      * The HTML content of the markdown file. | ||||
|      * The serialized JSON content of an MDX file. | ||||
|      */ | ||||
|     const html: string; | ||||
|     export default html; | ||||
|     const serializedJSON: string; | ||||
|     export default serializedJSON; | ||||
| } | ||||
|  | ||||
| declare namespace Intl { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Teffen Ellis
					Teffen Ellis